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

Delete draft releases #120

Merged
merged 18 commits into from
Aug 16, 2024
Merged

Delete draft releases #120

merged 18 commits into from
Aug 16, 2024

Conversation

thomasm-ttd
Copy link
Contributor

Added action to delete draft releases.
Used before creating a new release.
Tested on Optout.

@@ -66,6 +66,7 @@ jobs:
uses: IABTechLab/uid2-shared-actions/actions/check_branch_and_release_type@v2
with:
release_type: ${{ inputs.release_type }}
force_release: 'yes' #revert before merging
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will remove before merging

@@ -233,10 +234,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Delete Draft Releases
if: ${{ steps.checkRelease.outputs.is_release == 'true' }}
uses: IABTechLab/uid2-shared-actions/actions/delete_draft_releases@tjm-UID2-3102-delete-draft-releases
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will set to v3 before merging

@thomasm-ttd thomasm-ttd merged commit 27e0ba6 into main Aug 16, 2024
3 checks passed
@thomasm-ttd thomasm-ttd deleted the tjm-UID2-3102-delete-draft-releases branch August 16, 2024 05:06
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.

2 participants