Skip to content

Commit ea120dd

Browse files
committed
Fix no runs
1 parent f36a8ce commit ea120dd

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/pr-build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
fetch-depth: 0
2525

2626
- name: Check CHANGELOG
27-
continue-on-error: true
27+
if: always()
2828
run: |
2929
# Check if PR is from workflows bot or dependabot
3030
if [[ "${{ github.event.pull_request.user.login }}" == "aws-application-signals-bot" ]]; then
@@ -54,7 +54,7 @@ jobs:
5454
exit 1
5555
5656
- name: Check for versioned GitHub actions
57-
continue-on-error: true
57+
if: always()
5858
run: |
5959
# Get changed GitHub workflow/action files
6060
CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}..HEAD | grep -E "^\.github/(workflows|actions)/.*\.ya?ml$" || true)
@@ -71,10 +71,6 @@ jobs:
7171
7272
echo "No versioned actions found in changed files"
7373
74-
- name: Fail if any of the above checks failed
75-
if: failure()
76-
run: exit 1
77-
7874
build:
7975
runs-on: ubuntu-latest
8076
strategy:

0 commit comments

Comments
 (0)