Skip to content

Commit

Permalink
chore(workflows): update liquibase/build-logic workflows to v0.3.5 fo…
Browse files Browse the repository at this point in the history
…r attach-artifact-release, create-release, release-published, snyk-nightly, and test workflows

fix(workflows): add write permissions for contents and pull-requests in attach-artifact-release, create-release, release-published, and test workflows
fix(workflows): remove newline at end of file in snyk-nightly workflow
fix(workflows): update dependabot-automerge workflow to v0.3.5
  • Loading branch information
jandroav committed Aug 2, 2023
1 parent 1173a60 commit ad5263f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/attach-artifact-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ on:
jobs:

attach-artifact-to-release:
uses: liquibase/build-logic/.github/workflows/[email protected].4
uses: liquibase/build-logic/.github/workflows/[email protected].5
secrets: inherit
6 changes: 5 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ on:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
create-release:
uses: liquibase/build-logic/.github/workflows/[email protected].4
uses: liquibase/build-logic/.github/workflows/[email protected].5
secrets: inherit
6 changes: 5 additions & 1 deletion .github/workflows/release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ on:
release:
types: [published]

permissions:
contents: write
pull-requests: write

jobs:
release:
uses: liquibase/build-logic/.github/workflows/[email protected].4
uses: liquibase/build-logic/.github/workflows/[email protected].5
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/snyk-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ on:

jobs:
security-scan:
uses: liquibase/build-logic/.github/workflows/[email protected].4
uses: liquibase/build-logic/.github/workflows/[email protected].5
secrets: inherit
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ on:
- reopened
- synchronize

permissions:
contents: write
pull-requests: write

jobs:
build:
# This extension can not execute hibernete tests on Java 8/11. This needs to be fixed and then uncomment the following 2 lines and remove the build and unit-test logic from here
#uses: liquibase/build-logic/.github/workflows/[email protected].4
#uses: liquibase/build-logic/.github/workflows/[email protected].5
#secrets: inherit
name: Build & Package
runs-on: ubuntu-latest
Expand Down Expand Up @@ -124,5 +128,5 @@ jobs:
**/target/jacoco.exec
dependabot:
uses: liquibase/build-logic/.github/workflows/dependabot-automerge.yml@main
uses: liquibase/build-logic/.github/workflows/dependabot-automerge.yml@v0.3.5
secrets: inherit

0 comments on commit ad5263f

Please sign in to comment.