Skip to content

Commit

Permalink
Merge branch 'stackkit:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
marickvantuil2 authored Jan 29, 2024
2 parents 6b283e3 + 0f1e42f commit 05e6003
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/remove-label-on-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Remove Safe-to-Test Label on PR Update

on:
pull_request_target:
types: [synchronize]

jobs:
remove-label:
runs-on: ubuntu-latest
steps:
- name: Remove safe-to-test label
uses: actions/github-script@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const issue_number = context.issue.number;
const repository = context.repo.repo;
const owner = context.repo.owner;
await github.rest.issues.removeLabel({
owner,
repo: repository,
issue_number,
name: 'safe-to-test'
});

0 comments on commit 05e6003

Please sign in to comment.