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

Added to lower on action_status to be consistent with the job.status #1944

Merged

Conversation

nikola-jokic
Copy link
Contributor

@nikola-jokic nikola-jokic commented Jun 13, 2022

If we echo job.status, it will output failure.
But if we run echo github.action_status in a composite action, it would echo Failure.

This PR is just for consistency.

Fixes #1841

@nikola-jokic nikola-jokic requested a review from a team as a code owner June 13, 2022 12:07
Copy link
Contributor

@fhammerl fhammerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
No change in behaviour ( checks like {{ github.action_status == 'Failure'}} were already equivalent {{ github.action_status == 'failure'}}

But printing with echo ${{ github.action_status }} will now print 'success' or 'failure', consistent with job status (github.status)

@fhammerl fhammerl merged commit 9122fe7 into actions:main Nov 22, 2022
ChristopherHX pushed a commit to ChristopherHX/runner.server that referenced this pull request Nov 24, 2022
nikola-jokic added a commit to nikola-jokic/runner that referenced this pull request May 12, 2023
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.

Composite action status is using mixed case not lower case only
2 participants