Skip to content

Commit

Permalink
[ci][microcheck/7] add go label on auto-merge
Browse files Browse the repository at this point in the history
Signed-off-by: can <[email protected]>
  • Loading branch information
can-anyscale committed May 11, 2024
1 parent da1c54c commit c97798e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/on_auto_merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto merge enabled
on:
pull_request_target:
types:
- auto_merge_enabled
jobs:
add-label:
runs-on: ubuntu-latest
steps:
- name: Add go label
uses: actions/github-script@v5
with:
script: |
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['go']
})

0 comments on commit c97798e

Please sign in to comment.