Bump actions/setup-go from 5 to 6 #103
This file contains hidden or 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: Changie Gen | |
| on: | |
| pull_request: | |
| # catch when the PR is opened with the label or when the label is added | |
| types: [labeled] | |
| permissions: | |
| contents: write | |
| pull-requests: read | |
| jobs: | |
| generate_changelog: | |
| strategy: | |
| matrix: | |
| include: | |
| - label: "dependencies" | |
| changie_kind: "Dependency" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Create and commit changelog on bot PR | |
| if: ${{ contains(github.event.pull_request.labels.*.name, matrix.label) }} | |
| id: bot_changelog | |
| uses: emmyoop/changie_bot@v1.1.0 | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.ORG_GITHUB_TOKEN }} | |
| commit_author_name: "Github Build Bot" | |
| commit_author_email: "<bots@opslevel.com>" | |
| commit_message: "Add automated changelog yaml from template for bot PR" | |
| changie_kind: ${{ matrix.changie_kind }} | |
| label: ${{ matrix.label }} |