diff options
author | kumvijaya <kuvmijaya@gmail.com> | 2024-06-30 13:19:11 +0530 |
---|---|---|
committer | kumvijaya <kuvmijaya@gmail.com> | 2024-06-30 13:19:11 +0530 |
commit | 64ee292d15db2ec6c73498854b257f3d72c10ace (patch) | |
tree | 488084f7740012886970e344d228e65c7c2e4857 /.github/workflows/check-stale.yml | |
parent | 3e51f62abe6c8c3475d5fa90acdddea62b4decd1 (diff) | |
download | vyatta-cfg-system-T6533-add-reusable-workflows.tar.gz vyatta-cfg-system-T6533-add-reusable-workflows.zip |
T6533: added workflows for PR checksT6533-add-reusable-workflows
Diffstat (limited to '.github/workflows/check-stale.yml')
-rw-r--r-- | .github/workflows/check-stale.yml | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/.github/workflows/check-stale.yml b/.github/workflows/check-stale.yml index 5996e384..1cd4dec5 100644 --- a/.github/workflows/check-stale.yml +++ b/.github/workflows/check-stale.yml @@ -3,20 +3,11 @@ on: schedule: - cron: "0 0 * * *" +permissions: + pull-requests: write + contents: read + jobs: stale: - runs-on: ubuntu-latest - if: github.repository == 'vyos/vyatta-cfg-system' - steps: - # Issue stale management - - uses: actions/stale@v6 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 90 - days-before-close: -1 - stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. The issue will be reviewed by a maintainer and may be closed' - stale-issue-label: 'state: stale' - exempt-issue-labels: 'state: accepted, state: in-progress' - stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. The PR will be reviewed by a maintainer and may be closed' - stale-pr-label: 'state: stale' - exempt-pr-labels: 'state: accepted, state: in-progress' + uses: vyos/.github/.github/workflows/check-stale.yml@sagitta + secrets: inherit
\ No newline at end of file |