Skip to content

Commit

Permalink
Ignore the createdAt field on bundle check
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosedp committed Dec 8, 2023
1 parent 1230ca8 commit f76f04e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ jobs:
- name: Check if there are changes
id: changes
run: |
git status --porcelain
if [[ $(git status --porcelain) ]]; then echo '::set-output name=changed::true'; else echo '::set-output name=changed::false'; fi
if [[ $(git diff --quiet -I'^ createdAt: ' bundle) ]]; then echo '::set-output name=changed::true'; else echo '::set-output name=changed::false'; fi
- name: Bundle files changed, failed run
if: steps.changes.outputs.changed == 'true'
Expand Down
4 changes: 2 additions & 2 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pull_request_rules:
conditions:
- base=main
- label="Please Merge"
#- check-success=bundle-check-changed
- check-success=bundle-check-changed
- check-success=go-test
- "#review-requested=0"
actions:
Expand All @@ -15,7 +15,7 @@ pull_request_rules:
- base=main
- author=dependabot[bot]
- label="github_actions"
#- check-success=bundle-check-changed
- check-success=bundle-check-changed
- check-success=go-test
- "#review-requested=0"
actions:
Expand Down

0 comments on commit f76f04e

Please sign in to comment.