ci(engine): Add missing shared secrets to task containers and setup l… #157
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update draft releases | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
# Latest commit to include with the release. If omitted, use the latest commit on the main branch. | |
sha: | |
description: Commit SHA | |
type: string | |
permissions: | |
contents: write | |
pull-requests: read | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Draft Engine release | |
uses: release-drafter/release-drafter@v6 | |
with: | |
config-name: release-drafter-engine.yml | |
commitish: ${{ inputs.sha || github.sha }} | |
disable-autolabeler: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Draft Frontend release | |
uses: release-drafter/release-drafter@v6 | |
with: | |
config-name: release-drafter-ui.yml | |
commitish: ${{ inputs.sha || github.sha }} | |
disable-autolabeler: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |