Skip to content

Commit

Permalink
fix: Fix action manifest validation error (#77)
Browse files Browse the repository at this point in the history
The action manifest used the id `slack` for two steps, which is not
allowed. We don't reference this id anywhere, so it has been removed.
  • Loading branch information
Gudahtt authored May 10, 2024
1 parent 2490387 commit c92e153
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ runs:
fi
echo "FINAL_TEXT=$FINAL_TEXT" >> "$GITHUB_OUTPUT"
- name: Post to a Slack channel
id: slack
if: ${{ inputs.slack-webhook-url != '' && inputs.channel != '' }}
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844
with:
Expand All @@ -80,7 +79,6 @@ runs:
"channel": "#${{ inputs.channel }}"
}
- name: Post to a default Slack channel
id: slack
if: ${{ inputs.slack-webhook-url != '' && inputs.channel == '' }}
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844
with:
Expand Down

0 comments on commit c92e153

Please sign in to comment.