Skip to content

Bump actions/checkout from 4.1.7 to 4.2.0 in /.github/workflows (#1036) #154

Bump actions/checkout from 4.1.7 to 4.2.0 in /.github/workflows (#1036)

Bump actions/checkout from 4.1.7 to 4.2.0 in /.github/workflows (#1036) #154

Workflow file for this run

name: Sync
on:
# NOTE: github.event is push payload:
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#push
push:
branches: [main]
paths:
- sync/ISSUE_TEMPLATE/0_bug.yml
- sync/ISSUE_TEMPLATE/1_feature.yml
- sync/ISSUE_TEMPLATE/epic.yml
- sync/ISSUE_TEMPLATE/2_documentation.yml
- sync/PULL_REQUEST_TEMPLATE/with_releases.md
- sync/PULL_REQUEST_TEMPLATE/without_releases.md
- sync/config.yml # trigger sync if config is modified
- templates/releases/RELEASE.md
- templates/releases/rever.xsh
- templates/releases/TEMPLATE
- .github/workflows/cla.yml
- .github/workflows/issues.yml
- .github/workflows/labels.yml
- .github/workflows/lock.yml
- .github/workflows/project.yml
- .github/workflows/stale.yml
- .github/workflows/sync.yml # trigger sync if workflow is modified
- sync/CODE_OF_CONDUCT.md
- sync/HOW_WE_USE_GITHUB.md
# NOTE: github.event is workflow_dispatch payload:
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch
workflow_dispatch:
jobs:
sync:
if: '!github.event.repository.fork'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: BetaHuhn/repo-file-sync-action@8b92be3375cf1d1b0cd579af488a9255572e4619 # v1.21.1
with:
GH_PAT: ${{ secrets.SYNC_TOKEN }}
PR_LABELS: false
CONFIG_PATH: sync/config.yml
COMMIT_EACH_FILE: false
GIT_USERNAME: Conda Bot
GIT_EMAIL: [email protected]