Skip to content

Commit 83a6930

Browse files
authored
Merge pull request #2294 from rust-lang/github-actions-specify-full-tag-version
github actions: specify full tag version
2 parents 5332f7b + ed76475 commit 83a6930

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.github/actions/generate-tokens/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,55 +38,55 @@ runs:
3838
# GitHub tokens generated from GitHub Apps can access resources from one organization,
3939
# so we need to generate a token for each organization.
4040
- name: Generate GitHub token (rust-lang)
41-
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
41+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
4242
id: rust-lang-token
4343
with:
4444
app-id: ${{ inputs.app-id }}
4545
private-key: ${{ inputs.private-key }}
4646
owner: rust-lang
4747

4848
- name: Generate GitHub token (rust-lang-deprecated)
49-
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
49+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
5050
id: rust-lang-deprecated-token
5151
with:
5252
app-id: ${{ inputs.app-id }}
5353
private-key: ${{ inputs.private-key }}
5454
owner: rust-lang-deprecated
5555

5656
- name: Generate GitHub token (rust-lang-nursery)
57-
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
57+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
5858
id: rust-lang-nursery-token
5959
with:
6060
app-id: ${{ inputs.app-id }}
6161
private-key: ${{ inputs.private-key }}
6262
owner: rust-lang-nursery
6363

6464
- name: Generate GitHub token (bors-rs)
65-
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
65+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
6666
id: bors-rs-token
6767
with:
6868
app-id: ${{ inputs.app-id }}
6969
private-key: ${{ inputs.private-key }}
7070
owner: bors-rs
7171

7272
- name: Generate GitHub token (rust-analyzer)
73-
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
73+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
7474
id: rust-analyzer-token
7575
with:
7676
app-id: ${{ inputs.app-id }}
7777
private-key: ${{ inputs.private-key }}
7878
owner: rust-analyzer
7979

8080
- name: Generate GitHub token (rust-embedded)
81-
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
81+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
8282
id: rust-embedded-token
8383
with:
8484
app-id: ${{ inputs.app-id }}
8585
private-key: ${{ inputs.private-key }}
8686
owner: rust-embedded
8787

8888
- name: Generate GitHub token (rust-dev-tools)
89-
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
89+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
9090
id: rust-dev-tools-token
9191
with:
9292
app-id: ${{ inputs.app-id }}

.github/workflows/dry-run.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
permissions:
3030
pull-requests: write
3131
steps:
32-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
32+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333
with:
3434
# If the PR is from this repository, checkout the PR sha,
3535
# so that we can also test code changes.
@@ -42,7 +42,7 @@ jobs:
4242
uses: ./.github/actions/setup-rust
4343

4444
- name: Download built JSON API
45-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8
45+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
4646
with:
4747
name: team-api-output
4848
path: team-api

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
if: github.repository == 'rust-lang/team'
2828
steps:
29-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
29+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030
with:
3131
fetch-depth: 50
3232

@@ -72,7 +72,7 @@ jobs:
7272
run: echo "${{ github.event.pull_request.number }}" > build/pr.txt
7373

7474
- name: Upload the built JSON as a GitHub artifact
75-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
75+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
7676
with:
7777
name: team-api-output
7878
path: build
@@ -86,12 +86,12 @@ jobs:
8686
pages: write
8787
if: github.event_name != 'pull_request'
8888
steps:
89-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
89+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9090
with:
9191
persist-credentials: false
9292

9393
- name: Download built JSON API and sync-team
94-
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8
94+
uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
9595
with:
9696
name: team-api-output
9797
path: build
@@ -112,7 +112,7 @@ jobs:
112112
run: touch build/.nojekyll
113113

114114
- name: Upload GitHub pages artifact
115-
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
115+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
116116
with:
117117
path: build
118118

0 commit comments

Comments
 (0)