Skip to content

Commit

Permalink
CI updates
Browse files Browse the repository at this point in the history
This is done by the automated script named upgrade-c2cciutils-to-1.7
  • Loading branch information
sbrunner committed Nov 1, 2023
1 parent fdab509 commit e50b747
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 e50b747

Please sign in to comment.