-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 848 Bytes
/
release.yml
File metadata and controls
31 lines (28 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: merge to main workflow
on:
push:
branches: [main]
env:
BRANCH_NAME: ${{ github.event.ref.BRANCH_NAME }}
jobs:
get_config_values:
uses: ./.github/workflows/get-repo-config.yml
quality_checks:
needs: [get_config_values]
uses: ./.github/workflows/quality-checks-devcontainer.yml
with:
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
tag_release:
needs: [quality_checks, get_config_values]
uses: ./.github/workflows/tag-release-devcontainer.yml
permissions:
id-token: write
contents: write
with:
dry_run: false
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
branch_name: main
tag_format: ${{ needs.get_config_values.outputs.tag_format }}
secrets: inherit