Skip to content
Discussion options

You must be logged in to vote

There are several ways I think you could approach this, some uglier than others. Is your document creation all in one job? And how many different steps? This Action looks like it would assist you along with the if conditional.

https://github.com/JasonEtco/create-an-issue

https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsif

steps:
  • name: Create Documentation
    run: DO STUFF TO CREATE DOCS
    • name: Create Issue
      if: failure() # OR Check a bool variable you create and toggle as needed
      uses:JasonEtco/create-an-issue@masterenv:
      GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product Feedback Share your thoughts and suggestions on GitHub features and improvements
2 participants