Skip to content

Ignore PRs whose branches indicate workflows updates #34

Ignore PRs whose branches indicate workflows updates

Ignore PRs whose branches indicate workflows updates #34

Workflow file for this run

name: CI
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Run once with settings that are sure to find nothing (this repository
# has nothing being kept up to date).
- uses: ./
with:
dry-run: 1
# Run again with settings that are sure to find something (this repository
# is really active and should always have open dependabot PRs).
- uses: ./
with:
quarantine-days: -1
github-token: ${{ secrets.FRECKLE_AUTOMATION_GITHUB_TOKEN }}
github-repository: freckle/megarepo
dry-run: 1
# Run again exercising exclude-title-regex
- uses: ./
with:
exclude-title-regex: 'in /qa$'
quarantine-days: -1
github-token: ${{ secrets.FRECKLE_AUTOMATION_GITHUB_TOKEN }}
github-repository: freckle/megarepo
dry-run: 1
# Run as if we were a Dependabot-PR, so we can see the comment
- uses: ./
with:
remove-reviewers: false
github-actor: 'dependabot[bot]'
# And test the when-message conditional
- uses: ./
with:
quarantine-days: -1
remove-reviewers: false
github-actor: 'dependabot[bot]'