-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from opsmill/develop
Develop
- Loading branch information
Showing
4 changed files
with
13 additions
and
54 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
# yamllint disable rule:truthy | ||
name: "Update Changelog" | ||
name: "Update Changelog & Documentation" | ||
|
||
on: | ||
workflow_call: | ||
|
@@ -21,7 +21,7 @@ jobs: | |
python-version: 3.11 | ||
|
||
- name: Install antsibull-changelog, antsichaut | ||
run: python -m pip install antsibull-changelog antsichaut --disable-pip-version-check | ||
run: python -m pip install toml invoke antsibull-changelog antsichaut --disable-pip-version-check | ||
|
||
- name: Install pandoc | ||
run: sudo apt-get install pandoc | ||
|
@@ -38,6 +38,9 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: "Generate Docs" | ||
run: "invoke generate-doc" | ||
|
||
- name: Generate new version in changelog.yaml | ||
run: antsibull-changelog release -v --version "${{ steps.version.outputs.next-version }}" | ||
|
||
|
@@ -50,13 +53,13 @@ jobs: | |
- name: Update Changelog.rst | ||
run: antsibull-changelog generate -v | ||
|
||
- name: push changelog | ||
- name: commit changelog and docs | ||
uses: github-actions-x/[email protected] | ||
with: | ||
github-token: ${{ secrets.GH_INFRAHUB_BOT_TOKEN }} | ||
push-branch: 'stable' | ||
commit-message: 'chore: update changelog' | ||
files: CHANGELOG.rst changelogs/ | ||
commit-message: 'chore: update changelog & docs' | ||
files: docs/ CHANGELOG.rst changelogs/ | ||
name: opsmill-bot | ||
email: [email protected] | ||
rebase: true | ||
|
This file was deleted.
Oops, something went wrong.
This file contains 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