diff --git a/.github/workflows/add-to-task-list.yml b/.github/workflows/add-to-task-list.yml index 577a4195..fabfa8f6 100644 --- a/.github/workflows/add-to-task-list.yml +++ b/.github/workflows/add-to-task-list.yml @@ -1,5 +1,4 @@ name: Add to Task List - on: pull_request: types: @@ -8,7 +7,6 @@ on: issues: types: - opened - jobs: add-to-task-list: runs-on: ubuntu-latest diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 1d60bb0b..36fa4e33 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -1,6 +1,5 @@ --- name: create-release - on: push: branches: @@ -9,7 +8,6 @@ on: - .github/workflows/create-release.yml - scripts/action/** - action.yml - jobs: create-release: runs-on: ubuntu-latest @@ -18,7 +16,6 @@ jobs: - uses: dev-hato/actions-create-release@v0.0.23 with: github-token: ${{secrets.GITHUB_TOKEN}} - concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/format-json-yml.yml b/.github/workflows/format-json-yml.yml index 842216d3..625f4f5e 100644 --- a/.github/workflows/format-json-yml.yml +++ b/.github/workflows/format-json-yml.yml @@ -1,6 +1,5 @@ --- name: format-json-yml - on: pull_request: types: @@ -11,11 +10,9 @@ on: push: branches: - main - permissions: contents: write pull-requests: write - jobs: format-json-yml: runs-on: ubuntu-latest @@ -25,10 +22,10 @@ jobs: with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - - uses: dev-hato/actions-format-json-yml@v0.0.45 + token: ${{secrets.CREATE_WORKFLOW_CI_TOKEN}} + - uses: dev-hato/actions-format-json-yml@v0.0.46 with: github-token: ${{secrets.GITHUB_TOKEN}} - concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/github-actions-cache-cleaner.yml b/.github/workflows/github-actions-cache-cleaner.yml index c6e93147..e5d1607e 100644 --- a/.github/workflows/github-actions-cache-cleaner.yml +++ b/.github/workflows/github-actions-cache-cleaner.yml @@ -1,6 +1,5 @@ --- name: github-actions-cache-cleaner - on: push: branches: @@ -8,7 +7,6 @@ on: schedule: - cron: '0 21 * * *' # 06:00 JST workflow_dispatch: - jobs: github-actions-cache-cleaner: runs-on: ubuntu-latest @@ -17,7 +15,6 @@ jobs: - uses: dev-hato/github-actions-cache-cleaner@v0.0.23 with: github-token: ${{secrets.GITHUB_TOKEN}} - concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/renovate-config-validator.yml b/.github/workflows/renovate-config-validator.yml index 32d82769..ae977df6 100644 --- a/.github/workflows/renovate-config-validator.yml +++ b/.github/workflows/renovate-config-validator.yml @@ -1,23 +1,19 @@ --- name: renovate-config-validator - on: push: branches: - main pull_request: - jobs: renovate-config-validator: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3.6.0 - uses: actions/setup-node@v3.8.1 with: cache: npm - run: bash "${GITHUB_WORKSPACE}/scripts/renovate_config_validator/renovate_config_validator/validate.sh" - concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index b20a2815..440b2a9f 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -5,7 +5,6 @@ ################################# ################################# name: Lint Code Base - # # Documentation: # https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions @@ -19,7 +18,6 @@ on: branches: - main pull_request: - ############### # Set the Job # ############### @@ -29,7 +27,6 @@ jobs: name: Lint Code Base # Set the agent to run on runs-on: ubuntu-latest - ################## # Load all steps # ################## @@ -43,12 +40,10 @@ jobs: # Full git history is needed to get a proper list # of changed files within `super-linter` fetch-depth: 0 - - uses: actions/setup-node@v3.8.1 with: cache: npm - run: npm ci - ################################ # Run Linter against code base # ################################ @@ -58,7 +53,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} LINTER_RULES_PATH: . PATH: /github/workspace/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/node_modules/.bin:/venvs/ansible-lint/bin:/venvs/black/bin:/venvs/cfn-lint/bin:/venvs/cpplint/bin:/venvs/flake8/bin:/venvs/isort/bin:/venvs/mypy/bin:/venvs/pylint/bin:/venvs/snakefmt/bin:/venvs/snakemake/bin:/venvs/sqlfluff/bin:/venvs/yamllint/bin:/venvs/yq/bin:/var/cache/dotnet/tools:/usr/share/dotnet - concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/update-gitleaks.yml b/.github/workflows/update-gitleaks.yml index fb276e0d..ae03ce46 100644 --- a/.github/workflows/update-gitleaks.yml +++ b/.github/workflows/update-gitleaks.yml @@ -1,6 +1,5 @@ --- name: update-gitleaks - on: pull_request: types: @@ -11,11 +10,9 @@ on: push: branches: - main - permissions: contents: write pull-requests: write - jobs: update-gitleaks: runs-on: ubuntu-latest @@ -35,7 +32,6 @@ jobs: - uses: dev-hato/actions-update-gitleaks@v0.0.49 with: github-token: ${{secrets.GITHUB_TOKEN}} - concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/update-package.yml b/.github/workflows/update-package.yml index 35ac1830..bd9aeca4 100644 --- a/.github/workflows/update-package.yml +++ b/.github/workflows/update-package.yml @@ -1,6 +1,5 @@ --- name: update-package - on: pull_request: types: @@ -11,7 +10,6 @@ on: push: branches: - main - jobs: # npm installを実行し、package.jsonやpackage-lock.jsonに差分があればPRを作る update-package: @@ -36,7 +34,6 @@ jobs: github-token: ${{secrets.GITHUB_TOKEN}} branch-name-prefix: fix-package pr-title-prefix: package.jsonやpackage-lock.jsonを直してあげたよ! - concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} cancel-in-progress: true