Skip to content

Commit

Permalink
cleanup nudge pr tag after every run
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed Jul 22, 2024
1 parent d9734a0 commit c0c12e3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build_nudge_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build:
runs-on: macos-14
if: contains(github.event.pull_request.labels.*.name, 'safe to test')
if: contains(github.event.pull_request.labels.*.name, 'safe-to-test')

steps:
- name: Checkout nudge repo
Expand Down Expand Up @@ -45,3 +45,8 @@ jobs:
with:
name: packages
path: outputs/

- name: Clean up PR safety tag
id: clean_up_pr_safety_tag
run: |
/usr/bin/curl --silent --fail-with-body -X DELETE -H 'Accept: application/vnd.github.v3+json' -H 'Authorization: token ${{ github.token }}' 'https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.number }}/labels/safe-to-test'

0 comments on commit c0c12e3

Please sign in to comment.