Skip to content

Commit

Permalink
Merge pull request #3089 from mapfish/c2cciutils-upgrade-3.28
Browse files Browse the repository at this point in the history
CI updates
  • Loading branch information
sbrunner authored Nov 1, 2023
2 parents fdab509 + e50b747 commit 5361e9d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
pull_request:

permissions:
actions: write
contents: write

jobs:
build:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -219,3 +223,16 @@ jobs:
git commit -m 'Update docs'
git push origin gh-pages
if: github.ref == 'refs/heads/master' && env.SECRETS == 'TRUE'

- name: Trigger changelog workflow
uses: actions/github-script@v6
with:
script: |-
if (process.env.GITHUB_REF_TYPE == 'tag') {
console.log('Trigger changelog');
await github.rest.repos.createDispatchEvent({
owner: 'camptocamp',
repo: 'helm-mutualize',
event_type: 'changelog',
});
}

0 comments on commit 5361e9d

Please sign in to comment.