.github/workflows/issue_pr_lock.yml: run for the full org

This workflow is used and called by buildah and skopeo, however due this
new if it will just get skipped there as the context on a action reuse
will still be set to the proper repo which calls the action.

The point of this new if from commit 32f987fc8c
("ci: restrict specific workflows to the upstream repository")
was to avoid running our actions on forks where they will fail due to
missing secrets, etc...

So by limiting the scope to our org here we can reuse it from buildah
and skopeo and still prevent it running on forks from users.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2026-07-21 11:18:51 +02:00
parent 5defedb11a
commit 357519e364

View File

@@ -47,7 +47,7 @@ env:
jobs:
manage_locking:
if: github.repository == 'podman-container-tools/podman'
if: github.repository_owner == 'podman-container-tools'
runs-on: ubuntu-latest
permissions:
issues: write