Skip to content

Commit

Permalink
Merge pull request #47 from Quetzal-framework/develop
Browse files Browse the repository at this point in the history
fix: Github workflows
  • Loading branch information
Becheler authored Sep 21, 2024
2 parents 672705b + 0806f6f commit 2a77d14
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
8 changes: 7 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ categories:
labels:
- 'feature'
- 'enhancement'
- title: '📘 Documentation'
labels:
- 'doc'
- 'documentation'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label: 'chore'
labels:
- 'chore'
- 'maintenance'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,15 @@ jobs:
run: |
pip install -U conan
- run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV
- name: Cache Conan
uses: actions/cache@v4
if: always()
env:
cache-name: cache-conan-data
with:
path: ~/.conan2/p
key: ${{ matrix.config.os }}-{{ matrix.std }}-${{ matrix.config.name }}-${{ matrix.build_type }}-${{ hashFiles('conanfile.txt') }}
key: ${{ matrix.config.os }}-${{ matrix.build_type }}-${{ matrix.config.compiler.version }}-{{ matrix.std }}-${{ env.cache_id }}

- name: Conan Configure
shell: bash
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ jobs:
- name: Conan Install
run: >
conan install conanfile.py
--profile:build=~/.conan2/profiles/default
--profile:host=~/.conan2/profiles/default
--build=missing
--output-folder=build
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,25 @@ on:
pull_request_target:
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
- uses: release-drafter/release-drafter@v6
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
with:
enable_jekyll: true
# config-name: release-drafter.yml
# disable-autolabeler: true
# config-name: drafter-config.yml
# disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2a77d14

Please sign in to comment.