File tree Expand file tree Collapse file tree
update_readme/update_readme Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 issues :
88 types :
99 - opened
10+ permissions : read-all
1011jobs :
1112 add-to-task-list :
1213 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1717 branches : ["main"]
1818 schedule :
1919 - cron : ' 28 4 * * 6'
20+ permissions :
21+ actions : read
22+ contents : read
23+ security-events : write
2024jobs :
2125 analyze :
2226 name : Analyze
2731 # Consider using larger runners for possible analysis time improvements.
2832 runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
2933 timeout-minutes : ${{ (matrix.language == 'swift' && 120) || 360 }}
30- permissions :
31- actions : read
32- contents : read
33- security-events : write
3434 strategy :
3535 fail-fast : false
3636 matrix :
Original file line number Diff line number Diff line change 77 schedule :
88 - cron : ' 0 21 * * *' # 06:00 JST
99 workflow_dispatch :
10+ permissions : read-all
1011jobs :
1112 github-actions-cache-cleaner :
1213 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1818 branches :
1919 - main
2020 pull_request :
21+ permissions :
22+ contents : read
23+ packages : read
24+ statuses : write
2125# ##############
2226# Set the Job #
2327# ##############
4852 # Run Linter against code base #
4953 # ###############################
5054 - name : Lint Code Base
51- uses : super-linter/super-linter/slim@v5.7.2
55+ uses : super-linter/super-linter/slim@v6.0.0
5256 env :
5357 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58+ DEFAULT_BRANCH : main
5459 LINTER_RULES_PATH : .
5560concurrency :
5661 group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
Original file line number Diff line number Diff line change 1010 push :
1111 branches :
1212 - main
13+ permissions :
14+ contents : write
15+ pull-requests : write
1316jobs :
1417 # npm installを実行し、package.jsonやpackage-lock.jsonに差分があればPRを作る
1518 update-package :
1619 runs-on : ubuntu-latest
17- permissions :
18- contents : write
19- pull-requests : write
2020 steps :
2121 - uses : actions/checkout@v4.1.1
2222 with :
Original file line number Diff line number Diff line change 1010 push :
1111 branches :
1212 - main
13+ permissions :
14+ contents : write
15+ pull-requests : write
1316jobs :
1417 update-readme :
1518 runs-on : ubuntu-latest
16- permissions :
17- contents : write
18- pull-requests : write
1919 steps :
2020 - uses : actions/checkout@v4.1.1
2121 with :
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ git config user.email "${EMAIL}"
66GIT_COMMIT_COMMAND=" git commit"
77
88if [ " $NO_VERIFY " = " true" ]; then
9- GIT_COMMIT_COMMAND=" $GIT_COMMIT_COMMAND --no-verify"
9+ GIT_COMMIT_COMMAND=" $GIT_COMMIT_COMMAND --no-verify"
1010fi
1111
1212GIT_COMMIT_COMMAND=" $GIT_COMMIT_COMMAND -m \" ${PR_TITLE_PREFIX} \" "
@@ -18,7 +18,7 @@ GITHUB_HEAD="HEAD:refs/heads/${BRANCH_NAME_PREFIX}-${HEAD_REF}"
1818GIT_PUSH_COMMAND=" git push"
1919
2020if [ " $NO_VERIFY " = " true" ]; then
21- GIT_PUSH_COMMAND=" $GIT_PUSH_COMMAND --no-verify"
21+ GIT_PUSH_COMMAND=" $GIT_PUSH_COMMAND --no-verify"
2222fi
2323
2424GIT_PUSH_COMMAND=" $GIT_PUSH_COMMAND -f \" ${REPO_URL} \" \" ${GITHUB_HEAD} \" "
Original file line number Diff line number Diff line change 33npm ci
44action=" $( yq ' .jobs.build.steps[-1].uses' .github/workflows/super-linter.yml) "
55PATH=" $( docker run --rm --entrypoint ' ' " ghcr.io/${action// \/ slim@/: slim-} " /bin/sh -c ' echo $PATH' ) "
6- echo " PATH=/github/workspace/node_modules/.bin:${PATH} " >> " $GITHUB_ENV "
6+ echo " PATH=/github/workspace/node_modules/.bin:${PATH} " >> " $GITHUB_ENV "
Original file line number Diff line number Diff line change 22
33DESCRIPTION=" $( yq ' .description' action.yml) "
44export DESCRIPTION
5- envsubst < README.template.md > README.md
5+ envsubst < README.template.md > README.md
You can’t perform that action at this time.
0 commit comments