Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/branch-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ on:

jobs:
verify-pr:
uses: entur/abt-gha-public/.github/workflows/gradle-open-source-verify.yml@main
uses: entur/abt-gha-public/.github/workflows/gradle-open-source-verify.yml@v1
permissions:
contents: read
8 changes: 7 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ on:

jobs:
code-scan:
if: github.event_name != 'pull_request' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'OWNER' # TODO remove me when less default permissions
name: CodeQL Scan
uses: entur/gha-security/.github/workflows/code-scan.yml@v2
secrets: inherit
permissions:
contents: write
Comment thread
skjolber marked this conversation as resolved.
Outdated
security-events: write
actions: read
pull-requests: write
issues: write
Comment thread
skjolber marked this conversation as resolved.
Outdated
with:
java_distribution: "temurin"

10 changes: 8 additions & 2 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,24 @@ jobs:

post-failure-to-slack:
needs: deploy-main-gradle
permissions:
contents: read
if: failure()
uses: entur/gha-slack/.github/workflows/post.yml@v2
with:
channel_id: ${{ vars.CHANNEL_ID }}
message: "🔴 Gradle artifact deploy failed for ${{ github.repository }}\n ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
secrets: inherit
secrets:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
Comment thread
skjolber marked this conversation as resolved.

post-success-to-slack:
needs: deploy-main-gradle
permissions:
contents: read
if: success()
uses: entur/gha-slack/.github/workflows/post.yml@v2
with:
channel_id: ${{ vars.CHANNEL_ID}}
message: "🟢 Gradle artifact deploy success for ${{ github.repository }}\n ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
secrets: inherit
secrets:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}