Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This Github workflow will add 'not stale' label on copybara PR's (#4406)
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This workflow adds the "not stale" label to all PRs opened by copybara-service[bot] so that these are skipped from the stale workflow | ||
# | ||
# You can adjust the behavior by modifying this file. | ||
# For more information, see: | ||
# https://github.com/actions-ecosystem/action-add-labels | ||
name: Add label to copybara-service PRs | ||
|
||
on: | ||
pull_request: | ||
types: opened | ||
|
||
jobs: | ||
add_labels: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- uses: actions-ecosystem/action-add-labels@v1 | ||
if: github.actor == 'copybara-service[bot]' | ||
with: | ||
labels: not stale | ||
debug-only: true |