-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Pin dependencies * super-linterのバージョン取得処理修正 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information
1 parent
5580b12
commit 223f862
Showing
13 changed files
with
31 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,11 +15,11 @@ jobs: | |
steps: | ||
- name: Generate a token | ||
id: generate_token | ||
uses: actions/[email protected] | ||
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 | ||
with: | ||
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }} | ||
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }} | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-add-to-projects@fd5b783f40eca48aaee26b62b3df0c1606e845dc # v0.0.83 | ||
with: | ||
github-token: ${{steps.generate_token.outputs.token}} | ||
project-url: https://github.com/orgs/dev-hato/projects/1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ jobs: | |
create-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: dev-hato/[email protected] | ||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
- uses: dev-hato/actions-create-release@c2a40c5aa1affd28467f9d85ab21730396b96167 # v0.0.38 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
concurrency: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,17 +19,17 @@ jobs: | |
steps: | ||
- name: Generate a token | ||
id: generate_token | ||
uses: actions/[email protected] | ||
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 | ||
with: | ||
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }} | ||
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }} | ||
- uses: actions/[email protected] | ||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
token: ${{steps.generate_token.outputs.token}} | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-format-json-yml@fb4529a3bce610d82460527c56ff354ed545d1a1 # v0.0.74 | ||
with: | ||
github-token: ${{steps.generate_token.outputs.token}} | ||
concurrency: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
github-actions-cache-cleaner: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
- uses: ./ | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,20 +39,20 @@ jobs: | |
# Checkout the code base # | ||
########################## | ||
- name: Checkout Code | ||
uses: actions/[email protected] | ||
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
with: | ||
# Full git history is needed to get a proper list | ||
# of changed files within `super-linter` | ||
fetch-depth: 0 | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | ||
with: | ||
cache: npm | ||
- run: bash "${GITHUB_WORKSPACE}/scripts/super_linter/build/set_path.sh" | ||
################################ | ||
# Run Linter against code base # | ||
################################ | ||
- name: Lint Code Base | ||
uses: super-linter/super-linter/[email protected] | ||
uses: super-linter/super-linter/slim@b92721f792f381cedc002ecdbb9847a15ece5bb8 # v7.1.0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DEFAULT_BRANCH: main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,19 +17,19 @@ jobs: | |
update-gitleaks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
cache: npm | ||
- name: Install packages | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
run: npm ci | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-update-gitleaks@0e9a2d1c25c0acc3108157714109d94ebecbf7cf # v0.0.79 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
concurrency: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,18 +18,18 @@ jobs: | |
update-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
cache: npm | ||
- if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
run: npm install | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-diff-pr-management@e5c78b251a69f44f93b2f1398e06b129bcf151ec # v1.2.0 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
branch-name-prefix: fix-package | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,12 @@ jobs: | |
update-readme: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
with: | ||
cache: npm | ||
|
@@ -31,7 +31,7 @@ jobs: | |
- name: Get inputs markdown | ||
id: get_inputs_markdown | ||
if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
uses: actions/[email protected] | ||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
env: | ||
HEAD_REF: ${{github.event.pull_request.head.ref || github.head_ref}} | ||
with: | ||
|
@@ -46,7 +46,7 @@ jobs: | |
run: bash "${GITHUB_WORKSPACE}/scripts/update_readme/update_readme/update_readme.sh" | ||
- if: github.event_name != 'pull_request' || github.event.action != 'closed' | ||
run: npx prettier --write . | ||
- uses: dev-hato/[email protected] | ||
- uses: dev-hato/actions-diff-pr-management@e5c78b251a69f44f93b2f1398e06b129bcf151ec # v1.2.0 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
branch-name-prefix: fix-readme | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ inputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
with: | ||
github-token: ${{inputs.github-token}} | ||
script: | | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
npm ci | ||
action="$(yq '.jobs.build.steps[-1].uses' .github/workflows/super-linter.yml)" | ||
PATH="$(docker run --rm --entrypoint '' "ghcr.io/${action//\/slim@/:slim-}" /bin/sh -c 'echo $PATH')" | ||
tag_name="$(yq '.jobs.build.steps[-1].uses' .github/workflows/super-linter.yml | sed -e 's;/slim@.*;:slim;g')" | ||
tag_version="$(yq '.jobs.build.steps[-1].uses | line_comment' .github/workflows/super-linter.yml)" | ||
PATH="$(docker run --rm --entrypoint '' "ghcr.io/${tag_name}-${tag_version}" /bin/sh -c 'echo $PATH')" | ||
echo "PATH=/github/workspace/node_modules/.bin:${PATH}" >>"$GITHUB_ENV" |