Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ concurrency:
jobs:
path-filter:
runs-on: ubuntu-latest
if: github.repository == 'podman-container-tools/podman'
outputs:
all: ${{ steps.filter.outputs.all }}
code: ${{ steps.filter.outputs.code }}
Expand Down Expand Up @@ -46,6 +47,7 @@ jobs:
validate-source:
name: Validate source code changes
runs-on: cncf-ubuntu-8-32-x86
if: github.repository == 'podman-container-tools/podman'
permissions:
pull-requests: read # For hack/ci/pr-should-include-tests to query PR labels.
env:
Expand Down Expand Up @@ -183,6 +185,7 @@ jobs:
build-alt:
name: Cross Build (Linux, FreeBSD)
runs-on: cncf-ubuntu-16-64-x86
if: github.repository == 'podman-container-tools/podman'
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
Expand All @@ -196,6 +199,7 @@ jobs:

build:
name: build ${{ matrix.distro }}
if: github.repository == 'podman-container-tools/podman'
strategy:
fail-fast: false
matrix:
Expand All @@ -210,6 +214,7 @@ jobs:
windows-installer:
name: windows installer ${{ matrix.provider }}
runs-on: windows-2025-vs2026
if: github.repository == 'podman-container-tools/podman'
timeout-minutes: 20
permissions:
contents: read
Expand Down Expand Up @@ -285,6 +290,7 @@ jobs:
macos-installer:
name: macos installer
runs-on: macos-26
if: github.repository == 'podman-container-tools/podman'
timeout-minutes: 15
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
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
2 changes: 2 additions & 0 deletions .github/workflows/release-build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
build-artifacts:
name: Build Artifacts
runs-on: ubuntu-latest
if: github.repository == 'podman-container-tools/podman'
outputs:
version_display: ${{ steps.set-version.outputs.version_display }}
steps:
Expand Down Expand Up @@ -88,6 +89,7 @@ jobs:
mac-pkg:
name: Build MacOS pkginstaller
runs-on: macos-latest
if: github.repository == 'podman-container-tools/podman'
env:
APPLICATION_CERTIFICATE: ${{ secrets.MACOS_APPLICATION_CERT }}
CODESIGN_IDENTITY: ${{ secrets.MACOS_APPLICATION_IDENTITY }}
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/release-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/release-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