Skip to content

Commit

Permalink
This Github workflow will add 'not stale' label on copybara PR's (#4406)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgowroji committed Feb 8, 2023
1 parent 1cd0e9a commit ff9419b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/labeler.yml
@@ -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

0 comments on commit ff9419b

Please sign in to comment.