diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 257c09f1..3c97aa11 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -27,7 +27,7 @@ jobs: run: npm run build - name: Start a workflow with a webhook trigger id: wfb - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true webhook: ${{ secrets.SLACK_WEBHOOK_TRIGGER }} @@ -40,7 +40,7 @@ jobs: status: ${{ job.status }} - name: Post a token message into channel id: api - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.postMessage @@ -50,7 +50,7 @@ jobs: text: ":checkered_flag: Action happens at " - name: Initiate the deployment sequence id: slack - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.postMessage @@ -66,7 +66,7 @@ jobs: value: "In Progress" - name: Write starting statistics id: stats - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.postMessage @@ -79,7 +79,7 @@ jobs: run: sleep 3 - name: Launch time is now id: finished - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.update @@ -95,7 +95,7 @@ jobs: short: true value: "Completed" - name: Include ending statistics - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.postMessage @@ -105,7 +105,7 @@ jobs: text: "Finished at `${{ steps.finished.outputs.time }}`" thread_ts: "${{ steps.stats.outputs.thread_ts }}" - name: Celebrate wins - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: reactions.add @@ -116,7 +116,7 @@ jobs: name: "eye-in-speech-bubble" - name: Upload this workflow file id: file - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: files.uploadV2 @@ -127,7 +127,7 @@ jobs: file: .github/workflows/develop.yml filename: action.yml - name: Write one final webhook - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK }} diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index d33d9712..c3d559af 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -70,7 +70,7 @@ jobs: - name: "test(wfb): send a payload to workflow builder via webhook trigger" id: wfb - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true webhook: ${{ secrets.SLACK_WEBHOOK_TRIGGER }} @@ -89,7 +89,7 @@ jobs: - name: "test(api): post a message to channel" id: message - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.postMessage @@ -105,7 +105,7 @@ jobs: - name: "test(api): post a multiline message" # https://github.com/slackapi/slack-github-action/issues/637 id: multiline - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.postMessage @@ -123,7 +123,7 @@ jobs: - name: "test(api): post a message with blocks" id: blocks - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.postMessage @@ -145,7 +145,7 @@ jobs: - name: "test(api): post a threaded message" id: timer - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.postMessage @@ -165,7 +165,7 @@ jobs: - name: "test(api): update the original message" id: finished - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.update @@ -183,7 +183,7 @@ jobs: - name: "test(api): post another threaded message" id: done - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: chat.postMessage @@ -195,7 +195,7 @@ jobs: - name: "test(api): post a file into a channel" id: file - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: files.uploadV2 @@ -207,7 +207,7 @@ jobs: filename: integration.yml - name: "test(api): react to the completed update message" - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true method: reactions.add @@ -224,7 +224,7 @@ jobs: - name: "test(incoming): post a message via incoming webhook" id: incoming - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK }} @@ -250,7 +250,7 @@ jobs: - name: "test(incoming): post a message via payload file" id: payload_file - uses: ./ + uses: ./ # zizmor: ignore[self-repository] with: errors: true payload-file-path: ./.github/resources/.slack/incoming-webhook.json @@ -288,7 +288,7 @@ jobs: - name: "test(cli): run a slack cli version check" id: version - uses: ./cli + uses: ./cli # zizmor: ignore[self-repository] with: command: "version" @@ -307,7 +307,7 @@ jobs: - name: "test(cli): run an unknown command" id: unknown continue-on-error: true - uses: ./cli + uses: ./cli # zizmor: ignore[self-repository] with: command: "off" @@ -328,13 +328,13 @@ jobs: run: mv .github/resources/.slack .slack - name: "test(cli): validate the app manifest" - uses: ./cli + uses: ./cli # zizmor: ignore[self-repository] with: command: "manifest" token: ${{ secrets.SLACK_SERVICE_TOKEN }} - name: "test(cli): deploy the app" - uses: ./cli + uses: ./cli # zizmor: ignore[self-repository] with: command: "deploy --app ${{ vars.SLACK_APP_ID }} --hide-triggers --force" token: ${{ secrets.SLACK_SERVICE_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31d485da..82e4dd4d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,9 +59,9 @@ jobs: publish: name: Publish - needs: changelog if: needs.changelog.outputs.hasChangesets == 'false' && needs.changelog.outputs.releaseExists == 'false' runs-on: ubuntu-latest + needs: changelog environment: publish outputs: releaseExists: ${{ steps.check.outputs.exists }}