Skip to content

Commit

Permalink
fix(ci): Create atlantis-image-required.yml (#3376)
Browse files Browse the repository at this point in the history
There are still some corner cases where atlantis-image doesn't run, thus blocking PRs for passing. This should properly handle all cases by inverting the paths with paths-ignore.
  • Loading branch information
GenPage authored and nitrocode committed May 5, 2023
1 parent 09cc818 commit 128fab1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/atlantis-image-required.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# For required checks when path filtering doesn't trigger the other job
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks

name: atlantis-image

on:
pull_request:
paths-ignore:
- 'Dockerfile'
- 'docker-entrypoint.sh'
- '.github/workflows/atlantis-image.yml'
- '**.go'
- 'go.*'
- 'yarn.lock'
- 'package.json'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
build:
strategy:
matrix:
image_type: [alpine, debian]
runs-on: ubuntu-latest
steps:
- run: 'echo "No build required"'

0 comments on commit 128fab1

Please sign in to comment.