Pin GitHub Actions workflows to a specific version (#3548)
This commit is contained in:
8
.github/workflows/ci-workflow.yml
vendored
8
.github/workflows/ci-workflow.yml
vendored
@@ -14,10 +14,10 @@ jobs:
|
|||||||
housekeeping:
|
housekeeping:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
|
||||||
with:
|
with:
|
||||||
python-version: 3.11.2
|
python-version: 3.11.2
|
||||||
|
|
||||||
@@ -55,9 +55,9 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
python-version: [3.7, 3.8, 3.9, 3.10.6, 3.11.2]
|
python-version: [3.7, 3.8, 3.9, 3.10.6, 3.11.2]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||||
|
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/issue-commenter.yml
vendored
6
.github/workflows/issue-commenter.yml
vendored
@@ -9,16 +9,16 @@ jobs:
|
|||||||
name: Comments for every NEW issue.
|
name: Comments for every NEW issue.
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||||
|
|
||||||
- name: Read issue-comment.md
|
- name: Read issue-comment.md
|
||||||
id: issue-comment
|
id: issue-comment
|
||||||
uses: juliangruber/read-file-action@v1
|
uses: juliangruber/read-file-action@02bbba9876a8f870efd4ad64e3b9088d3fb94d4b
|
||||||
with:
|
with:
|
||||||
path: .github/issue-comment.md
|
path: .github/issue-comment.md
|
||||||
|
|
||||||
- name: Base comment
|
- name: Base comment
|
||||||
uses: jd-0001/gh-action-comment-on-new-issue@v2.0.3
|
uses: jd-0001/gh-action-comment-on-new-issue@c443e1151cc69b146fd6918cc983ec1bd27ab254
|
||||||
with:
|
with:
|
||||||
message: "${{ steps.issue-comment.outputs.content }}"
|
message: "${{ steps.issue-comment.outputs.content }}"
|
||||||
ignore-label: ":anger: prickle"
|
ignore-label: ":anger: prickle"
|
||||||
|
|||||||
2
.github/workflows/pr-commenter.yml
vendored
2
.github/workflows/pr-commenter.yml
vendored
@@ -6,7 +6,7 @@ jobs:
|
|||||||
pr-comment:
|
pr-comment:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: exercism/pr-commenter-action@v1.5.1
|
- uses: exercism/pr-commenter-action@085ef62d2a541a112c3ade1d24deea83665ea186
|
||||||
with:
|
with:
|
||||||
github-token: "${{ github.token }}"
|
github-token: "${{ github.token }}"
|
||||||
config-file: ".github/pr-commenter.yml"
|
config-file: ".github/pr-commenter.yml"
|
||||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
|||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v8
|
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
days-before-stale: 21
|
days-before-stale: 21
|
||||||
|
|||||||
2
.github/workflows/test-runner.yml
vendored
2
.github/workflows/test-runner.yml
vendored
@@ -10,6 +10,6 @@ jobs:
|
|||||||
test-runner:
|
test-runner:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||||
- name: Run test-runner
|
- name: Run test-runner
|
||||||
run: docker-compose run test-runner
|
run: docker-compose run test-runner
|
||||||
|
|||||||
Reference in New Issue
Block a user