diff --git a/.github/workflows/jenkins-security-scan.yml b/.github/workflows/jenkins-security-scan.yml index 3bf1a19..0a83be7 100644 --- a/.github/workflows/jenkins-security-scan.yml +++ b/.github/workflows/jenkins-security-scan.yml @@ -3,7 +3,7 @@ name: Jenkins Security Scan on: push: branches: - - "main" + - main pull_request: types: [ opened, synchronize, reopened ] workflow_dispatch: @@ -18,4 +18,4 @@ jobs: uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2 with: java-cache: '' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate. - java-version: 11 # What version of Java to set up for the build. \ No newline at end of file + java-version: 11 # What version of Java to set up for the build. diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 6c3a0ff..5437a81 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -5,7 +5,7 @@ name: Release Drafter on: push: branches: - - "main" + - main tags: - '*' @@ -19,4 +19,4 @@ jobs: # Publishes a new GH Release automatically once a tag gets pushed publish: startsWith(github.ref, "refs/tags") env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}