diff --git a/.github/workflows/slack-merge-reaction.yml b/.github/workflows/slack-merge-reaction.yml index 06c85fb..e292851 100644 --- a/.github/workflows/slack-merge-reaction.yml +++ b/.github/workflows/slack-merge-reaction.yml @@ -15,12 +15,11 @@ on: jobs: add-merge-reaction: - # Fix spacing and wrap the expression - if: ${{ github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' }} + if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' uses: digitalocean/docs-automation/.github/workflows/slack-merge-reaction.yml@main with: pr_url: ${{ inputs.pr_url || github.event.pull_request.html_url }} pr_number: ${{ inputs.pr_number || github.event.pull_request.number }} merged_by: ${{ github.event.pull_request.merged_by.login || 'manual-test' }} merge_commit_sha: ${{ github.event.pull_request.merge_commit_sha || 'manual-test' }} - secrets: inherit # Use 'inherit' to automatically pass all secrets to the reusable workflow + secrets: inherit \ No newline at end of file