Skip to content
Merged
Show file tree
Hide file tree
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
18 changes: 8 additions & 10 deletions .github/workflows/selector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ on:
description: |2
Prefix git tags with a "v" before the semantic version number.
required: false
type: boolean
type: bool
github_api_url:
default: "https://api.github.com"
description: Github API URL.
Expand All @@ -46,7 +46,7 @@ on:
github_server:
default: "github.com"
description: GitHub server domain name.
required: false
required: true
type: string
secrets:
github_write_token:
Expand All @@ -57,10 +57,8 @@ concurrency:
group: qa-group
cancel-in-progress: false

env: # This is where the extra variable come from: https://docs.github.com/en/actions/tutorials/authenticate-with-github_token
env:
GH_WRITE_TOKEN: ${{ secrets.github_write_token }}
GH_TOKEN: ${{ secrets.github_write_token }}
GITHUB_TOKEN: ${{ secrets.github_write_token }}

jobs:
select-a-workflow:
Expand All @@ -77,15 +75,15 @@ jobs:
fetch-tags: true
fetch-depth: 0
- name: Select a workflow
uses: kohirens/version-release/.github/actions/workflow-selector@5.1.1
uses: kohirens/version-release/.github/actions/workflow-selector@5.1.2
id: selector
with:
enable_tag_v_prefix: ${{ inputs.enable_tag_v_prefix }}
github_api_url: ${{ inputs.github_api_url }}
github_server: ${{ inputs.github_server }}
publish-changelog:
# permissions:
# contents: read,write,pull-request
permissions:
contents: write
if: ${{ needs.select-a-workflow.outputs.workflow == 'publish-changelog' }}
runs-on: ubuntu-latest
name: Publish changelog workflow
Expand All @@ -103,7 +101,7 @@ jobs:
merge-multiple: true
run-id: ${{ inputs.add_files_to_commit_run_id }}
- name: Update and publish the changelog
uses: kohirens/version-release/.github/actions/publish-changelog@5.1.1
uses: kohirens/version-release/.github/actions/publish-changelog@5.1.2
id: changelog
with:
changelog_hash: ${{ needs.select-a-workflow.outputs.changelog_hash }}
Expand All @@ -126,7 +124,7 @@ jobs:
fetch-tags: true
fetch-depth: 0
- name: Publish a release
uses: kohirens/version-release/.github/actions/publish-release-tag@5.1.1
uses: kohirens/version-release/.github/actions/publish-release-tag@5.1.2
id: release
with:
tag_cmd: 'echo "${{ needs.select-a-workflow.outputs.next_semver }}"'
Expand Down
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [5.1.2]

### Changed

- Guide to Setup GitHub Actions for AVR
- GitHub Action AVR Required GitHub Server

### Fixed

- Permissions Required for Publish Changelog
- Invalid Type Used In Seletor Workflow

### Regular Maintenance

- Updated Tests
- Updated Tests

### Removed

- Obsoleete Code

## [5.1.1]

### Added
Expand Down