Skip to content

Commit 223f862

Browse files
Actionsのバージョンをコミットハッシュで固定する (#1105)
* Pin dependencies * super-linterのバージョン取得処理修正 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 5580b12 commit 223f862

13 files changed

+31
-30
lines changed

.github/workflows/add-to-task-list.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
steps:
1616
- name: Generate a token
1717
id: generate_token
18-
uses: actions/[email protected]
18+
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
1919
with:
2020
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
2121
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
22-
- uses: dev-hato/[email protected]
22+
- uses: dev-hato/actions-add-to-projects@fd5b783f40eca48aaee26b62b3df0c1606e845dc # v0.0.83
2323
with:
2424
github-token: ${{steps.generate_token.outputs.token}}
2525
project-url: https://github.com/orgs/dev-hato/projects/1

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@v3
47+
uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # v3
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -56,7 +56,7 @@ jobs:
5656
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
5757
# queries: security-extended,security-and-quality
5858

59-
uses: github/codeql-action/autobuild@v3
59+
uses: github/codeql-action/autobuild@f779452ac5af1c261dce0346a8f964149f49322b # v3
6060
# - run: |
6161
# echo "Run, Build Application using script"
6262
# ./location_of_script_within_repo/buildscript.sh
@@ -66,6 +66,6 @@ jobs:
6666

6767
# If the Autobuild fails above, remove it and uncomment the following three lines.
6868
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
69-
uses: github/codeql-action/analyze@v3
69+
uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # v3
7070
with:
7171
category: "/language:${{matrix.language}}"

.github/workflows/create-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
create-release:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/[email protected]
18-
- uses: dev-hato/[email protected]
17+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
18+
- uses: dev-hato/actions-create-release@c2a40c5aa1affd28467f9d85ab21730396b96167 # v0.0.38
1919
with:
2020
github-token: ${{secrets.GITHUB_TOKEN}}
2121
concurrency:

.github/workflows/format-json-yml.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
steps:
2020
- name: Generate a token
2121
id: generate_token
22-
uses: actions/[email protected]
22+
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
2323
with:
2424
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
2525
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
26-
- uses: actions/[email protected]
26+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2727
if: github.event_name != 'pull_request' || github.event.action != 'closed'
2828
with:
2929
fetch-depth: 0
3030
ref: ${{ github.event.pull_request.head.sha }}
3131
token: ${{steps.generate_token.outputs.token}}
32-
- uses: dev-hato/[email protected]
32+
- uses: dev-hato/actions-format-json-yml@fb4529a3bce610d82460527c56ff354ed545d1a1 # v0.0.74
3333
with:
3434
github-token: ${{steps.generate_token.outputs.token}}
3535
concurrency:

.github/workflows/github-actions-cache-cleaner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
github-actions-cache-cleaner:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/[email protected]
20+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2121
- uses: ./
2222
with:
2323
github-token: ${{secrets.GITHUB_TOKEN}}

.github/workflows/super-linter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,20 @@ jobs:
3939
# Checkout the code base #
4040
##########################
4141
- name: Checkout Code
42-
uses: actions/[email protected]
42+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
4343
with:
4444
# Full git history is needed to get a proper list
4545
# of changed files within `super-linter`
4646
fetch-depth: 0
47-
- uses: actions/[email protected]
47+
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
4848
with:
4949
cache: npm
5050
- run: bash "${GITHUB_WORKSPACE}/scripts/super_linter/build/set_path.sh"
5151
################################
5252
# Run Linter against code base #
5353
################################
5454
- name: Lint Code Base
55-
uses: super-linter/super-linter/[email protected]
55+
uses: super-linter/super-linter/slim@b92721f792f381cedc002ecdbb9847a15ece5bb8 # v7.1.0
5656
env:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
DEFAULT_BRANCH: main

.github/workflows/update-gitleaks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ jobs:
1717
update-gitleaks:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/[email protected]
20+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2121
if: github.event_name != 'pull_request' || github.event.action != 'closed'
2222
with:
2323
fetch-depth: 0
2424
ref: ${{ github.event.pull_request.head.sha }}
25-
- uses: actions/[email protected]
25+
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
2626
if: github.event_name != 'pull_request' || github.event.action != 'closed'
2727
with:
2828
cache: npm
2929
- name: Install packages
3030
if: github.event_name != 'pull_request' || github.event.action != 'closed'
3131
run: npm ci
32-
- uses: dev-hato/[email protected]
32+
- uses: dev-hato/actions-update-gitleaks@0e9a2d1c25c0acc3108157714109d94ebecbf7cf # v0.0.79
3333
with:
3434
github-token: ${{secrets.GITHUB_TOKEN}}
3535
concurrency:

.github/workflows/update-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ jobs:
1818
update-package:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/[email protected]
21+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2222
if: github.event_name != 'pull_request' || github.event.action != 'closed'
2323
with:
2424
fetch-depth: 0
2525
ref: ${{ github.event.pull_request.head.sha }}
26-
- uses: actions/[email protected]
26+
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
2727
if: github.event_name != 'pull_request' || github.event.action != 'closed'
2828
with:
2929
cache: npm
3030
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
3131
run: npm install
32-
- uses: dev-hato/[email protected]
32+
- uses: dev-hato/actions-diff-pr-management@e5c78b251a69f44f93b2f1398e06b129bcf151ec # v1.2.0
3333
with:
3434
github-token: ${{secrets.GITHUB_TOKEN}}
3535
branch-name-prefix: fix-package

.github/workflows/update-readme.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
update-readme:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/[email protected]
20+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2121
if: github.event_name != 'pull_request' || github.event.action != 'closed'
2222
with:
2323
fetch-depth: 0
2424
ref: ${{ github.event.pull_request.head.sha || github.sha }}
25-
- uses: actions/[email protected]
25+
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
2626
if: github.event_name != 'pull_request' || github.event.action != 'closed'
2727
with:
2828
cache: npm
@@ -31,7 +31,7 @@ jobs:
3131
- name: Get inputs markdown
3232
id: get_inputs_markdown
3333
if: github.event_name != 'pull_request' || github.event.action != 'closed'
34-
uses: actions/[email protected]
34+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
3535
env:
3636
HEAD_REF: ${{github.event.pull_request.head.ref || github.head_ref}}
3737
with:
@@ -46,7 +46,7 @@ jobs:
4646
run: bash "${GITHUB_WORKSPACE}/scripts/update_readme/update_readme/update_readme.sh"
4747
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
4848
run: npx prettier --write .
49-
- uses: dev-hato/[email protected]
49+
- uses: dev-hato/actions-diff-pr-management@e5c78b251a69f44f93b2f1398e06b129bcf151ec # v1.2.0
5050
with:
5151
github-token: ${{secrets.GITHUB_TOKEN}}
5252
branch-name-prefix: fix-readme

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
runs:
99
using: "composite"
1010
steps:
11-
- uses: actions/[email protected]
11+
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
1212
with:
1313
github-token: ${{inputs.github-token}}
1414
script: |

0 commit comments

Comments
 (0)