Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ on:
jobs:
assign:
# Only run on issue comments (not PR comments)
if: "!github.event.issue.pull_request && contains(github.event.comment.body, '/assign')"
if: |
!github.event.issue.pull_request &&
contains(github.event.comment.body, '/assign') &&
github.repository == 'podman-container-tools/podman'
runs-on: ubuntu-latest
permissions:
issues: write
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cherry-pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
if: |
github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
contains(github.event.comment.body, '/cherry-pick ')
contains(github.event.comment.body, '/cherry-pick ') &&
github.repository == 'podman-container-tools/podman'
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down Expand Up @@ -194,7 +195,8 @@ jobs:
cherry-pick-on-merge:
if: |
github.event_name == 'pull_request' &&
github.event.pull_request.merged == true
github.event.pull_request.merged == true &&
github.repository == 'podman-container-tools/podman'
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dev-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ permissions: {}

jobs:
bump:
if: github.repository == 'podman-container-tools/podman'
name: Bump to -dev
runs-on: ubuntu-latest
permissions:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/first_contrib_cert_generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ jobs:
screenshot_and_comment:
# This job runs if the PR was merged or if it's a manual trigger.
# The logic for first-time contributors is handled in a dedicated step below.
if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }}
if: |
(
github.event_name == 'workflow_dispatch' ||
github.event.pull_request.merged == true
) &&
github.repository == 'podman-container-tools/podman'
runs-on: ubuntu-latest
permissions:
contents: read # Write access for certificate storage
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ permissions:

jobs:
triage:
if: github.repository == 'podman-container-tools/podman'
permissions:
contents: read # for github/issue-labeler to get repo contents
issues: write # for github/issue-labeler to create or remove labels
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/issue_pr_lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ env:

jobs:
manage_locking:
if: github.repository == 'podman-container-tools/podman'
runs-on: ubuntu-latest
permissions:
issues: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ permissions: {}

jobs:
triage:
if: github.repository == 'podman-container-tools/podman'
permissions:
contents: read
pull-requests: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/machine-os-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:

jobs:
podman-image-build-pr:
if: github.repository == 'podman-container-tools/podman'
name: Open PR on podman-machine-os
runs-on: ubuntu-latest
permissions:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/needs-info-labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ permissions: {}

jobs:
add-comment:
if: github.event.label.name == 'needs-info'
if: |
github.event.label.name == 'needs-info' &&
github.repository == 'podman-container-tools/podman'
runs-on: ubuntu-latest
permissions:
issues: write
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/release-pipeline-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
get-latest-release:
name: Get branch for latest release
runs-on: ubuntu-latest
if: github.event_name == 'schedule'
if: |
github.event_name == 'schedule' &&
github.repository == 'podman-container-tools/podman'
outputs:
release_ref: ${{ steps.set.outputs.release_ref }}
steps:
Expand All @@ -44,7 +46,9 @@ jobs:
build-artifacts-main:
name: Build Artifacts (main)
uses: ./.github/workflows/build-artifacts.yml
if: github.event_name == 'schedule'
if: |
github.event_name == 'schedule' &&
github.repository == 'podman-container-tools/podman'
with:
version: 'main'
secrets:
Expand Down Expand Up @@ -89,7 +93,9 @@ jobs:
build-artifacts-single:
name: Build Artifacts
uses: ./.github/workflows/build-artifacts.yml
if: github.event_name == 'workflow_dispatch'
if: |
github.event_name == 'workflow_dispatch' &&
github.repository == 'podman-container-tools/podman'
with:
version: ${{ inputs.ref }}
secrets:
Expand All @@ -110,6 +116,7 @@ jobs:

validate-tokens:
name: Validate GitHub tokens
if: github.repository == 'podman-container-tools/podman'
runs-on: ubuntu-latest
steps:
- name: Validate PODMANBOT_TOKEN
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ permissions:

jobs:
check:
if: github.repository == 'podman-container-tools/podman'
name: Check
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
stale:

if: github.repository == 'podman-container-tools/podman'
permissions:
issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-podmanio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ permissions: {}

jobs:
bump:
if: github.repository == 'podman-container-tools/podman'
name: Bump
runs-on: ubuntu-24.04
permissions:
Expand Down