Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate changelog snippets and release notes to markdown #63710

Merged
merged 7 commits into from
Feb 17, 2023
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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ jobs:

- name: Build Documentation
shell: bash
env:
LATEST_RELEASE: ${{ needs.prepare-workflow.outputs.salt-version }}
run: |
tools docs html --no-clean --archive salt-${{ needs.prepare-workflow.outputs.salt-version }}-docs.tar.xz

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ jobs:

- name: Build Documentation
shell: bash
env:
LATEST_RELEASE: ${{ needs.prepare-workflow.outputs.salt-version }}
run: |
tools docs html --no-clean --archive salt-${{ needs.prepare-workflow.outputs.salt-version }}-docs.tar.xz

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ jobs:

- name: Build Documentation
shell: bash
env:
LATEST_RELEASE: ${{ needs.prepare-workflow.outputs.salt-version }}
run: |
tools docs html --no-clean --archive salt-${{ needs.prepare-workflow.outputs.salt-version }}-docs.tar.xz

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/templates/ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ on:

- name: Build Documentation
shell: bash
env:
LATEST_RELEASE: ${{ needs.prepare-workflow.outputs.salt-version }}
run: |
tools docs html --no-clean --archive salt-${{ needs.prepare-workflow.outputs.salt-version }}-docs.tar.xz

Expand Down
22 changes: 12 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,19 @@ repos:
)$

- repo: https://github.com/s0undt3ch/python-tools-scripts
rev: "0.10.2"
rev: "0.10.4"
hooks:
- id: tools
alias: check-changelog-entries
name: Check Changelog Entries
args:
- changelog
- pre-commit-checks
additional_dependencies:
- boto3==1.21.46
- pyyaml==6.0
- jinja2==3.1.2
- packaging==23.0
- id: tools
alias: generate-workflows
name: Generate GitHub Workflow Templates
Expand Down Expand Up @@ -1080,15 +1091,6 @@ repos:
- requirements/static/ci/tools.in
# <---- Tools -----------------------------------------------------------------------------------------------------

# ----- Local Hooks ----------------------------------------------------------------------------------------------->
- repo: local
hooks:
- id: check-changelog-entries
name: Check Changelog Entries
entry: .pre-commit-hooks/check-changelog-entries.py
language: script
# <---- Local Hooks ------------------------------------------------------------------------------------------------

# ----- Code Formatting ------------------------------------------------------------------------------------------->
- repo: https://github.com/asottile/pyupgrade
rev: v2.37.2
Expand Down
104 changes: 0 additions & 104 deletions .pre-commit-hooks/check-changelog-entries.py

This file was deleted.

Loading