Skip to content

Commit

Permalink
chore(ci): remove bypass rule when dependabot triggers CI (#1904)
Browse files Browse the repository at this point in the history
## Description

This hotfix resolves an authentication error in CI after we updated
project and org configs. Dependabot can now reference the correct
variable, as shown in [project
settings](https://github.com/defenseunicorns/pepr/settings/secrets/dependabot)
(if you have access).

## Related Issue

Relates to #1852 

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Checklist before merging
- [x] Unit,
[Journey](https://github.com/defenseunicorns/pepr/tree/main/journey),
[E2E Tests](https://github.com/defenseunicorns/pepr-excellent-examples),
[docs](https://github.com/defenseunicorns/pepr/tree/main/docs),
[adr](https://github.com/defenseunicorns/pepr/tree/main/adr) added or
updated as needed
- [x] [Contributor Guide
Steps](https://docs.pepr.dev/main/contribute/#submitting-a-pull-request)
followed
  • Loading branch information
samayer12 authored Mar 6, 2025
1 parent 666bdb2 commit 7bb9ec2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/node.js-unicorn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ permissions:

jobs:
journey-unicorn:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pepr-excellent-examples-unicorn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ on:

jobs:
pepr-build:
if: github.actor != 'dependabot[bot]'
name: controller image
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -103,7 +102,6 @@ jobs:
retention-days: 1

examples-matrix:
if: github.actor != 'dependabot[bot]'
name: job matrix
runs-on: ubuntu-latest
needs:
Expand Down Expand Up @@ -150,7 +148,7 @@ jobs:
id: create-matrix

excellent-examples:
if: github.actor != 'dependabot[bot]' && needs.examples-matrix.outputs.matrix != ''
if: needs.examples-matrix.outputs.matrix != ''
name: ${{ matrix.name }}
runs-on: ubuntu-latest
needs:
Expand Down

0 comments on commit 7bb9ec2

Please sign in to comment.