Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Comment thread
zimeg marked this conversation as resolved.
Resolved
with:
errors: true
webhook: ${{ secrets.SLACK_WEBHOOK_TRIGGER }}
Expand All @@ -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
Expand All @@ -50,7 +50,7 @@ jobs:
text: ":checkered_flag: Action happens at <https://github.com/${{ github.repository }}>"
- name: Initiate the deployment sequence
id: slack
uses: ./
uses: ./ # zizmor: ignore[self-repository]
with:
errors: true
method: chat.postMessage
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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"

Expand All @@ -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"

Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment thread
zimeg marked this conversation as resolved.
Resolved
environment: publish
outputs:
releaseExists: ${{ steps.check.outputs.exists }}
Expand Down
Loading