Skip to content

๐Ÿ‹ A GitHub Action for determining the status of a workflow when run inside a pipeline. Largely used to post workflow statuses to Slack via https://github.com/jmpa-io/post-to-slack.

License

Notifications You must be signed in to change notification settings

jmpa-io/determine-workflow-conclusion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

README.yml cicd.yml

determine-workflow-conclusion

+ ๐Ÿ‹ A GitHub Action for determining the status of a workflow when run inside a
+ pipeline. Largely used to post workflow statuses to Slack via
+ https://github.com/jmpa-io/post-to-slack.

usage

General:

  determine-conclusion:
    runs-on: ubuntu-latest
    outputs:
      conclusion: ${{ steps.determine.outputs.conclusion }}
    steps:
      - id: determine
        uses: jmpa-io/determine-workflow-conclusion@main
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

  do-something-else:
    needs: [determine-conclusion]
    runs-on: ubuntu-latest
    steps:
      - run: |
        echo "${{ needs.determine-conclusion.outputs.conclusion }}"

inputs

(required) token

A GitHub personal access token; used to determine the workflow conclusion via the GitHub API.

About

๐Ÿ‹ A GitHub Action for determining the status of a workflow when run inside a pipeline. Largely used to post workflow statuses to Slack via https://github.com/jmpa-io/post-to-slack.

Topics

Resources

License

Stars

Watchers

Forks