Skip to content

Commit 4debe22

Browse files
authored
🔄 synced local '.github/workflows/' with remote 'template_workflows/project_automation/' (#10)
Co-authored-by: surchs <null>
1 parent 62102aa commit 4debe22

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎.github/workflows/handle_external_pr.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,13 @@ jobs:
1818
run: gh pr edit ${{ github.event.pull_request.number }} -R ${{ github.repository }} --add-label "_community"
1919
env:
2020
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
22+
handle_precommit_pr:
23+
if: contains(github.event.pull_request.title, '[pre-commit.ci]')
24+
runs-on: ubuntu-latest
25+
26+
steps:
27+
- name: Label pull request with "_bot"
28+
run: gh pr edit ${{ github.event.pull_request.number }} -R ${{ github.repository }} --add-label "_bot"
29+
env:
30+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)