diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index 03d811e5e..889781bc6 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -35,19 +35,6 @@ jobs: if: > github.event.pull_request.draft == false steps: - - name: Get PR Commits - id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Check commit message - uses: tim-actions/commit-message-checker-with-regex@v0.3.1 - with: - commits: ${{ steps.get-pr-commits.outputs.commits }} - pattern: '^.*\[skip\ audit\].*$' - error: 'Skip instruction detected' - - name: Get branch names 🌿 id: branch-name uses: tj-actions/branch-names@v7 @@ -75,18 +62,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip audit]" - name: Normalize inputs 🛠️ diff --git a/.github/workflows/bioccheck.yaml b/.github/workflows/bioccheck.yaml index fa3a7a9ed..fecd571fc 100644 --- a/.github/workflows/bioccheck.yaml +++ b/.github/workflows/bioccheck.yaml @@ -114,19 +114,10 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash working-directory: ${{ github.event.repository.name }} env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip bioccheck]" - name: Restore SD cache 💰 diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index 404ea2264..7af0a55bc 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -195,19 +195,6 @@ jobs: multiversion-docs: ${{ steps.current-branch-or-tag.outputs.multiversion-docs }} steps: - - name: Get PR Commits - id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Check commit message - uses: tim-actions/commit-message-checker-with-regex@v0.3.1 - with: - commits: ${{ steps.get-pr-commits.outputs.commits }} - pattern: '^.*\[skip\ r-cmd\].*$' - error: 'Skip instruction detected' - - name: Setup token 🔑 id: github-token run: | @@ -252,19 +239,10 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash working-directory: ${{ github.event.repository.name }} env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip r-cmd]" - name: Checkout gh-pages 🛎 diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml index 911fbe6ae..5e8bf0f3e 100644 --- a/.github/workflows/gitleaks.yaml +++ b/.github/workflows/gitleaks.yaml @@ -39,19 +39,6 @@ jobs: github.event.pull_request.draft == false steps: - - name: Get PR Commits - id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Check commit message - uses: tim-actions/commit-message-checker-with-regex@v0.3.1 - with: - commits: ${{ steps.get-pr-commits.outputs.commits }} - pattern: '^.*\[skip\ gitleaks\].*$' - error: 'Skip instruction detected' - - name: Get branch names 🌿 id: branch-name uses: tj-actions/branch-names@v7 @@ -77,18 +64,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip gitleaks]" - name: Download and install gitleaks 💧 @@ -145,18 +123,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip pii-check]" - name: Run Presidio to check for PII ☔ diff --git a/.github/workflows/grammar.yaml b/.github/workflows/grammar.yaml index cc4fb4f91..d85d7a2cd 100644 --- a/.github/workflows/grammar.yaml +++ b/.github/workflows/grammar.yaml @@ -63,18 +63,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip grammar]" - name: Restore npm cache 💰 diff --git a/.github/workflows/licenses.yaml b/.github/workflows/licenses.yaml index bc0dfe833..e91a7afe2 100644 --- a/.github/workflows/licenses.yaml +++ b/.github/workflows/licenses.yaml @@ -58,18 +58,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip licenses]" - name: Generate license report 📜 diff --git a/.github/workflows/links.yaml b/.github/workflows/links.yaml index ddb44ad3f..952ed3112 100644 --- a/.github/workflows/links.yaml +++ b/.github/workflows/links.yaml @@ -58,18 +58,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip links]" - name: Check URLs in docs 🔬 diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml index 6541e1a1b..e2a551a42 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/linter.yaml @@ -39,19 +39,6 @@ jobs: github.event.pull_request.draft == false steps: - - name: Get PR Commits - id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Check commit message - uses: tim-actions/commit-message-checker-with-regex@v0.3.1 - with: - commits: ${{ steps.get-pr-commits.outputs.commits }} - pattern: '^.*\[skip\ linter\].*$' - error: 'Skip instruction detected' - - name: Get branch names 🌿 id: branch-name uses: tj-actions/branch-names@v7 @@ -79,18 +66,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip linter]" - name: Override SuperLinter configs 💾 @@ -161,18 +139,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip linter]" - name: Changed files 🖋️ diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 2b48bebbe..964c2e0a0 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -181,19 +181,10 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash working-directory: ${{ github.event.repository.name }} env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip docs]" - name: Restore SD cache 💰 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 11a4a1dc5..bcb33632f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -59,18 +59,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip release]" - name: Get branch names 🌿 diff --git a/.github/workflows/roxygen.yaml b/.github/workflows/roxygen.yaml index 5475f1dbc..e275f3d43 100644 --- a/.github/workflows/roxygen.yaml +++ b/.github/workflows/roxygen.yaml @@ -61,19 +61,6 @@ jobs: image: ghcr.io/insightsengineering/rstudio:latest steps: - - name: Get PR Commits - id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Check commit message - uses: tim-actions/commit-message-checker-with-regex@v0.3.1 - with: - commits: ${{ steps.get-pr-commits.outputs.commits }} - pattern: '^.*\[skip\ roxygen\].*$' - error: 'Skip instruction detected' - - name: Setup token 🔑 id: github-token run: | @@ -114,19 +101,10 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash working-directory: ${{ github.event.repository.name }} env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip roxygen]" - name: Restore SD cache 💰 diff --git a/.github/workflows/spelling.yaml b/.github/workflows/spelling.yaml index e8894985f..03b37486d 100644 --- a/.github/workflows/spelling.yaml +++ b/.github/workflows/spelling.yaml @@ -85,18 +85,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip spelling]" - name: Normalize variables 📏 diff --git a/.github/workflows/style.yaml b/.github/workflows/style.yaml index 33b48d2b1..aa1b4423c 100644 --- a/.github/workflows/style.yaml +++ b/.github/workflows/style.yaml @@ -88,19 +88,10 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash working-directory: ${{ github.event.repository.name }} env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip style]" - name: Install styler 👚 diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 8ea7615d4..c9c742856 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -188,19 +188,10 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash working-directory: ${{ github.event.repository.name }} env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip coverage]" - name: Normalize inputs ⊳ @@ -362,19 +353,10 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash working-directory: ${{ github.event.repository.name }} env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip coverage]" - name: Restore SD cache 💰 diff --git a/.github/workflows/validation.yaml b/.github/workflows/validation.yaml index 123ec8d8f..c35aabc86 100644 --- a/.github/workflows/validation.yaml +++ b/.github/workflows/validation.yaml @@ -98,18 +98,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip validation]" - name: Normalize variables 📏 diff --git a/.github/workflows/verdepcheck.yaml b/.github/workflows/verdepcheck.yaml index c61635fa1..9f4f35278 100644 --- a/.github/workflows/verdepcheck.yaml +++ b/.github/workflows/verdepcheck.yaml @@ -79,18 +79,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip dependency-test]" - name: Normalize variables 📏 diff --git a/.github/workflows/version-bump.yaml b/.github/workflows/version-bump.yaml index fdf0c4a07..7a4eaeccd 100644 --- a/.github/workflows/version-bump.yaml +++ b/.github/workflows/version-bump.yaml @@ -70,18 +70,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ steps.github-token.outputs.token }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip vbump]" - name: Bump version in DESCRIPTION 📜 diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index bb225e394..eec8db3c4 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -59,18 +59,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip version]" - name: NEWS.md and DESCRIPTION Version check 🏁 @@ -130,18 +121,9 @@ jobs: if [[ $head_commit_message == *"$SKIP_INSTRUCTION"* ]]; then echo "Skip instruction detected - cancelling the workflow." exit 1 - curl -s -LJ -o gh.tar.gz https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_amd64.tar.gz - tar -xzf gh.tar.gz --strip-components 2 - ./gh version - ./gh run cancel ${{ github.run_id }} - ./gh run watch ${{ github.run_id }} - else - echo "Skip instruction not detected - continuing the workflow." fi shell: bash env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_CLI_VERSION: 2.44.1 SKIP_INSTRUCTION: "[skip version]" - name: Set up Python 🐍