Skip to content

Commit

Permalink
Skip secrets from build workflow and build dependabot branches
Browse files Browse the repository at this point in the history
  • Loading branch information
ogesaku committed Oct 27, 2024
1 parent bf84261 commit 60130be
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ on:
pull_request:
push:
branches-ignore:
- 'dependabot/**'
- 'gh-pages'

jobs:
build:
uses: coditory/jvm-workflows/.github/workflows/build.yml@v1
secrets: inherit
with:
java-version: 21
build-command: ./gradlew build coverage
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Labeler"

on: [pull_request_target]
on: pull_request_target

jobs:
labeler:
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/release-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,3 @@ jobs:
secrets: inherit
needs: check
if: needs.check.outputs.release == 'true'

snapshot:
uses: ./.github/workflows/release.yml
needs: check
secrets: inherit
if: |
(inputs.consider-snapshot || github.event_name == 'workflow_run')
&& needs.check.outputs.release != 'true'
&& needs.check.outputs.skip-code != 'no-changes'
with:
snapshot: true

0 comments on commit 60130be

Please sign in to comment.