Skip to content

Commit

Permalink
workflows: fix branch restriction on pull requests (#112)
Browse files Browse the repository at this point in the history
As we actually want to run those workflows for any branches, we should
either specify "**" to include names with slashes (/) or simply omit the
restriction.

Signed-off-by: Isabella Basso do Amaral <idoamara@redhat.com>
  • Loading branch information
isinyaaa authored Oct 30, 2023
1 parent 2561513 commit 1d29332
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-image-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Test container image build

on:
pull_request_target:
branches:
- '*'
paths-ignore:
- 'LICENSE*'
- '**.gitignore'
Expand Down Expand Up @@ -33,4 +31,4 @@ jobs:
shell: bash
env:
VERSION: ${{ steps.tags.outputs.tag }}
run: ./scripts/build_deploy.sh
run: ./scripts/build_deploy.sh
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- 'main'
pull_request:
branches:
- '*'
paths-ignore:
- 'LICENSE*'
- 'DOCKERFILE*'
Expand Down

0 comments on commit 1d29332

Please sign in to comment.