Skip to content

Commit

Permalink
Ensure tag-exists works as intended (#752)
Browse files Browse the repository at this point in the history
### Changes

The tag-exists action was not working due to the fact that it was trying
to read from a step that did not exist.
Without these changes, it would always 404 and act as if the tag doesn't
exist.

### Checklist

- [x] I have read the [Auth0 general contribution
guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)
- [x] I have read the [Auth0 Code of
Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)
- [x] All code quality tools/guidelines have been run/followed
  • Loading branch information
frederikprijck authored Dec 13, 2023
2 parents ddeeb72 + e96724c commit 14b405e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/tag-exists/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
using: composite

steps:
- id: check
- id: tag-exists
shell: bash
run: |
GET_API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/git/ref/tags/${TAG_NAME}"
Expand Down

0 comments on commit 14b405e

Please sign in to comment.