Skip to content

Commit

Permalink
GHA: Closed issue/PR comment-lock test
Browse files Browse the repository at this point in the history
Lock discussions on closed PRs and Issues after 90-days of inactivity.

Ref:
     containers/podman#19012
and
     containers/podman#19691
and
     containers/podman#19700

Signed-off-by: Chris Evich <[email protected]>
  • Loading branch information
cevich committed Aug 28, 2023
1 parent 4d4479a commit d47c946
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/discussion_lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---

# See also:
# https://github.com/containers/podman/blob/main/.github/workflows/discussion_lock.yml

on:
schedule:
- cron: '0 0 * * *'
# Debug: Allow triggering job manually in github-actions WebUI
workflow_dispatch: {}

jobs:
# Ref: https://docs.github.com/en/actions/using-workflows/reusing-workflows
closed_issue_discussion_lock:
uses: containers/podman/.github/workflows/discussion_lock.yml@main
secrets: inherit
permissions:
contents: read
issues: write
pull-requests: write

0 comments on commit d47c946

Please sign in to comment.