You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #6739, when CircleCI runs on a branch from a fork, the new Slack orb errors out without $SLACK_ACCESS_TOKEN.
Steps to Reproduce
Fork freedomofpress/securedrop.
Clone your fork and check out a new branch.
Commit something on your branch, even if it's just git commit --allow-empty.
Push your branch to your fork.
Open a pull request from your branch into freedomofpress/securedrop.
Expected Behavior
CircleCI runs and passes , and the Slack orb posts a notification to #securedrop-notifications.
Actual Behavior
In each CircleCI job, step Slack - Sending Notification errors out and the job fails:
In order to use the Slack Orb (v4 +), an OAuth token must be present via the SLACK_ACCESS_TOKEN environment variable.
Follow the setup guide available in the wiki: https://github.com/CircleCI-Public/slack-orb/wiki/Setup
Exited with code exit status 1
CircleCI received exit code 1
#6739 comes from freedomofpress/infrastructure#3225, but we should probably hold off on trying to fix this until we've decided freedomofpress/securedrop-engineering#24.
The text was updated successfully, but these errors were encountered:
Ah, good point, @zenmonkeykstop. I've updated the "Expected Behavior"
section: the goal is that CircleCI *passes*, whether or not there's a
notification to Slack.
CircleCI support confirmed this diagnosis for @nabla-c0d3 in
<#6764 (comment)>.
cfm
changed the title
CircleCI Slack orb fails from forks
CircleCI Slack orb fails from forks, causing workflows to error out
Apr 11, 2023
Description
After #6739, when CircleCI runs on a branch from a fork, the new Slack orb errors out without
$SLACK_ACCESS_TOKEN
.Steps to Reproduce
freedomofpress/securedrop
.git commit --allow-empty
.freedomofpress/securedrop
.Expected Behavior
CircleCI runs and passes
, and the Slack orb posts a notification to.#securedrop-notifications
Actual Behavior
In each CircleCI job, step
Slack - Sending Notification
errors out and the job fails:Comments
#6739 comes from freedomofpress/infrastructure#3225, but we should probably hold off on trying to fix this until we've decided freedomofpress/securedrop-engineering#24.
The text was updated successfully, but these errors were encountered: