-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency https://github.com/salt-extensions/salt-extension-c…
…opier to v0.6.0 (#31) Co-authored-by: salt-extensions-renovatebot[bot] <182623858+salt-extensions-renovatebot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
2425eed
commit 23a9967
Showing
17 changed files
with
396 additions
and
80 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Autogenerated. Do not edit this by hand, use `copier update`. | ||
--- | ||
_commit: 0.5.0 | ||
_commit: 0.6.0 | ||
_src_path: https://github.com/salt-extensions/salt-extension-copier | ||
author: jeanluc | ||
author_email: [email protected] | ||
|
@@ -22,7 +22,7 @@ os_support: | |
- Windows | ||
package_name: pushover | ||
project_name: pushover | ||
python_requires: '3.8' | ||
python_requires: '3.9' | ||
relax_pylint: false | ||
salt_version: '3006' | ||
source_url: https://github.com/salt-extensions/saltext-pushover | ||
|
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
name: Prepare Release PR | ||
|
||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: Override the autogenerated version. | ||
required: false | ||
default: '' | ||
type: string | ||
|
||
jobs: | ||
update-release: | ||
name: Render changelog and create/update PR | ||
runs-on: ubuntu-24.04 | ||
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
|
||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Install project | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install '.[changelog]' pre-commit | ||
- name: Get next version | ||
if: github.event_name == 'push' || inputs.version == '' | ||
id: next-version | ||
run: echo "version=$(python tools/version.py next)" >> "$GITHUB_OUTPUT" | ||
|
||
- name: Update CHANGELOG.md | ||
env: | ||
NEXT_VERSION: ${{ (github.event_name == 'workflow_dispatch' && inputs.version != '') && inputs.version || steps.next-version.outputs.version }} | ||
run: towncrier build --yes --version "${NEXT_VERSION}" | ||
|
||
- name: Run pre-commit once to remove trailing whitespace | ||
run: | | ||
python -m pre_commit run --files=CHANGELOG.md || true | ||
- name: Create/update release PR | ||
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 | ||
with: | ||
commit-message: Release v${{ (github.event_name == 'workflow_dispatch' && inputs.version != '') && inputs.version || steps.next-version.outputs.version }} | ||
branch: release/auto | ||
sign-commits: true | ||
title: Release v${{ (github.event_name == 'workflow_dispatch' && inputs.version != '') && inputs.version || steps.next-version.outputs.version }} | ||
body: | | ||
This automated PR builds the latest changelog. When merged, a new release is published automatically. | ||
Before merging, please ensure it's based on the most recent default branch HEAD. | ||
If you want to rebuild this PR with a custom version or the current date, you can also trigger the corresponding workflow manually in `Actions` > `Prepare Release PR` > `Run workflow`. | ||
You can still follow the manual release procedure outlined in: https://salt-extensions.github.io/salt-extension-copier/topics/publishing.html |
Oops, something went wrong.