Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude authored Jan 10, 2024
1 parent 065d016 commit 84349bc
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@e8f94e4dd298db5a6a2aa2d42fe0bcef6f2c9660
id: commit_style_fix
if: github.event_name == 'push' && github.ref != 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ steps.generate_github_token.outputs.token }}
with:
push_options: --dry-run
commit_message: "spotless: Fix code style"
Expand All @@ -78,8 +76,6 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@e8f94e4dd298db5a6a2aa2d42fe0bcef6f2c9660
id: commit_rev_ignore
if: github.event_name == 'push' && github.ref != 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ steps.generate_github_token.outputs.token }}
with:
push_options: --dry-run
file_pattern: '.git-blame-ignore-revs'
Expand All @@ -94,8 +90,6 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@e8f94e4dd298db5a6a2aa2d42fe0bcef6f2c9660
id: commit_license_change
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ steps.generate_github_token.outputs.token }}
with:
push_options: --dry-run
file_pattern: 'licenses/index.json licenses/**/index.json'
Expand All @@ -107,7 +101,8 @@ jobs:
- name: Push if changes
if: steps.commit_style_fix.outputs.changes_detected || steps.commit_license_change.outputs.changes_detected || steps.commit_rev_ignore.outputs.changes_detected
run: git push

env:
GITHUB_TOKEN: ${{ steps.generate_github_token.outputs.token }}
- name: Run integration tests for PR
if: (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) || github.event_name == 'merge_group'
run: ./gradlew clean build publishMavenPublicationToMavenLocal runMainMethodThreadLeakTest runMainMethodMemoryLeakTest writeVersionToExamples
Expand Down

0 comments on commit 84349bc

Please sign in to comment.