Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support workflow run url in comments #1089

Merged
merged 7 commits into from
Jan 26, 2024
Merged

Conversation

motatoes
Copy link
Contributor

@motatoes motatoes commented Jan 25, 2024

This change will also add workflow url in the summary comment that digger adds. It will fail gracefully if for whatever reason the workflow url could not be found and the user will see a blank or "#" as the link instead of the actually link. For it to work users need to add the following as one of the steps in their workflow job:

    steps:
      - name: 'Workflow ID: ${{github.event.inputs.id}}'
        run: echo run identifier ${{ inputs.id }}
Screenshot 2024-01-26 at 12 31 35

In the above image "succeeded" links to the actual job running in actions

@motatoes motatoes changed the title support workflow run url support workflow run url in comments Jan 25, 2024
@ZIJ ZIJ merged commit aded23d into develop Jan 26, 2024
4 checks passed
ben-of-codecraft pushed a commit to ben-of-codecraft/digger that referenced this pull request May 21, 2024
…flow-url

support workflow run url in comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants