Skip to content
Merged
Changes from all 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
10 changes: 9 additions & 1 deletion .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ on:
- '.github/pull_request_template.md'

name: Auto-Build
permissions: {}
jobs:
create_release:
# Check if we are doing a release or just a normal build.
Expand All @@ -69,7 +70,9 @@ jobs:
build_all_targets: ${{ steps.decide-build-targets.outputs.build_all_targets }}
env:
release_changelog_path: ./.github_release_changelog.md

# Set permissions. We need write permissions to content for creating/removing the release
permissions:
contents: write
Comment thread
ann0see marked this conversation as resolved.
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -179,6 +182,11 @@ jobs:
release_assets:
name: Build for ${{ matrix.config.config_name }}
needs: create_release
# Set permissions to allow uploading artifact, uploading to release and allowing CodeQl to set security events
permissions:
checks: write
contents: write
security-events: write
Comment thread
ann0see marked this conversation as resolved.
strategy:
fail-fast: false
matrix:
Expand Down