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

[3005.x] Merge 3005.5 into 3005.x #65968

Merged
merged 150 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
b023068
The repo.saltproject.io `index.html` file changed it's contents. Fix …
s0undt3ch Apr 19, 2023
77f129e
Fix test by switching to a repo we own and pinning to a tag.
s0undt3ch Jan 23, 2023
66778b1
Remaining test fixes regarding the recent GitHub RSA key change
s0undt3ch Mar 27, 2023
0c7850b
Updating keys in known hosts file.
garethgreenaway Mar 25, 2023
167fd20
Updating the github.com fingerprint.
garethgreenaway Mar 25, 2023
16e452c
Delete OSs end of life
May 31, 2023
ce27084
Update ami image
May 31, 2023
7808499
Skip tests on 3005
Jun 1, 2023
edfa312
Only run chocolatey tests if choco exists
Jun 1, 2023
afa8a2c
skip on windows if not setting static requirements
Jun 1, 2023
1d28136
Install lower version of importlib-metadata on amzn2
Jun 2, 2023
b9b48b8
Wait until the loop is running.
s0undt3ch Dec 30, 2022
09863dc
Fix the failing fedora test that has been failing: tests.unit.utils.t…
Nov 2, 2022
e54b59d
Fix pre-commit and importlib install on amzn2
Jun 2, 2023
cd67924
Install specific setuptools and pip for test install test
Jun 5, 2023
8a55c1e
Ensure we install amzn2 workaround importlib in system python3
Jun 5, 2023
2df49c1
Install specific setuptools before failing test
Jun 7, 2023
ca67893
install packaging on install test for py 3.10
Jun 8, 2023
05a1952
Add flaky decorator to flaky tests
Jun 9, 2023
72488a3
Fix debian pkg test failures and flaky ssh test
Jun 12, 2023
0f09d11
Try disabling backports
Jun 12, 2023
f4d80fa
Add workaround for debian 10 key issues
Jun 12, 2023
ca50a54
Fix debian 10 detection
Jun 20, 2023
48d4ab9
Remove backports repo
Jun 20, 2023
e92e9a4
Fix pre-commit and add flaky decorator to flaky tests
Jun 22, 2023
3ebb394
Remove testing py 3.9 for rabbitmq to fix flaky behavior
Jun 23, 2023
ed2601e
Add win_dsc test_get_config_not_configured to flaky test
Jun 23, 2023
b34a714
Add flaky decorator on flaky tests on freeze branch
Jun 26, 2023
043ef8a
Add flaky decoratore to test_pkg module tests
Jun 27, 2023
48fd196
Add read permissions for the `dorny/paths-filter` GH Action
s0undt3ch Jul 19, 2023
33c24f5
Choose self hosted runners on private repositories
s0undt3ch Jul 19, 2023
9d08c5d
Workaround pyyaml issue https://github.com/yaml/pyyaml/issues/601
s0undt3ch Jul 19, 2023
244d11e
Stop using deprecated GH Actions versions
s0undt3ch Jul 19, 2023
1e0149d
Merge pull request #501 from saltstack/hotfix/3005.2-fixes
garethgreenaway Jul 19, 2023
5c038e5
Update pyyaml to 6.0.1
Jul 19, 2023
c88fda0
Fix lint issues after the `pyyaml` package upgrade
s0undt3ch May 25, 2023
f28b627
Use salt-ci-container images
Jul 19, 2023
a6aa131
Update pyyaml for invoke
Jul 19, 2023
87a7303
Update remaining references to pyyaml to 6.0.1
s0undt3ch Jul 19, 2023
7e30aae
Do not fail on bad message pack message
dwoz May 27, 2023
f7dc88e
fix test and add changeog
Jul 19, 2023
f058aeb
MagicMock is not a context manager. with needs __enter__ and __exit__…
Jul 19, 2023
c5253c3
[3005.2] Update requests
Jul 14, 2023
040325b
Skip tests when `USE_STATIC_REQUIREMENTS=0`
s0undt3ch Jul 20, 2023
484f136
Merge pull request #499 from saltstack/issue/3005.x/64370
garethgreenaway Jul 20, 2023
5245bde
correct changelog
Jul 20, 2023
51900c2
Upgrade to `cryptography==39.0.1`
s0undt3ch Feb 20, 2023
eeaaf52
Fix pre-commit by changing the pyzmq requirements.
s0undt3ch Feb 8, 2023
8ccc578
Upgrade to `pyopenssl==23.0.0` due to the cryptography upgrade.
s0undt3ch Feb 23, 2023
14de217
[3005.2] Update cryptography
Jul 14, 2023
c475708
Skip ansible tests on py3.6 due to crypto warning
Jul 19, 2023
1b1f735
Bump to `certifi==2023.07.22` due to https://github.com/advisories/GH…
s0undt3ch Jul 26, 2023
dc10803
Fixed gitfs cachedir_basename to avoid hash collisions
cmcmarrow Jul 23, 2023
cbcc5fb
Fix gitfs tests
cmcmarrow Jul 24, 2023
9529f72
Fix gitfs tests
s0undt3ch Jul 27, 2023
5ea80bb
It's `gitfs` not `gtfs`, plus some code fixes and cleanup
s0undt3ch Jul 27, 2023
57caa68
Update Python to 3.9.17
twangboy Aug 1, 2023
73beb55
[3005.2] Update docs
Jul 31, 2023
8344fe5
Fix the request and pyzmq requirements
Aug 1, 2023
5972888
base64 hash
cmcmarrow Aug 2, 2023
dff6f6c
[3005.2] Update cryptography to 41.0.3
Aug 2, 2023
e60abda
stop branch collision
cmcmarrow Aug 2, 2023
c9bc453
run pre
cmcmarrow Aug 2, 2023
c71ff92
pre
cmcmarrow Aug 2, 2023
afe9b0b
Add read permissions for the `dorny/paths-filter` GH Action
s0undt3ch Jul 19, 2023
788ebbc
Choose self hosted runners on private repositories
s0undt3ch Jul 19, 2023
0e302d1
Workaround pyyaml issue https://github.com/yaml/pyyaml/issues/601
s0undt3ch Jul 19, 2023
564189b
Stop using deprecated GH Actions versions
s0undt3ch Jul 19, 2023
4eb19de
Update pyyaml to 6.0.1
Jul 19, 2023
4125681
Fix lint issues after the `pyyaml` package upgrade
s0undt3ch May 25, 2023
cd7ebb6
Use salt-ci-container images
Jul 19, 2023
0f05359
Update pyyaml for invoke
Jul 19, 2023
0dff5ef
Update remaining references to pyyaml to 6.0.1
s0undt3ch Jul 19, 2023
c6133f5
Do not fail on bad message pack message
dwoz May 27, 2023
a0431d7
fix test and add changeog
Jul 19, 2023
0b25479
MagicMock is not a context manager. with needs __enter__ and __exit__…
Jul 19, 2023
02d449f
[3005.2] Update requests
Jul 14, 2023
bf6fccb
Skip tests when `USE_STATIC_REQUIREMENTS=0`
s0undt3ch Jul 20, 2023
249691d
correct changelog
Jul 20, 2023
ed597f7
Upgrade to `cryptography==39.0.1`
s0undt3ch Feb 20, 2023
df783bd
Fix pre-commit by changing the pyzmq requirements.
s0undt3ch Feb 8, 2023
5125058
Upgrade to `pyopenssl==23.0.0` due to the cryptography upgrade.
s0undt3ch Feb 23, 2023
49f4652
[3005.2] Update cryptography
Jul 14, 2023
9977885
Skip ansible tests on py3.6 due to crypto warning
Jul 19, 2023
2a835b3
Bump to `certifi==2023.07.22` due to https://github.com/advisories/GH…
s0undt3ch Jul 26, 2023
6fcc6ff
Fixed gitfs cachedir_basename to avoid hash collisions
cmcmarrow Jul 23, 2023
96d9841
Fix gitfs tests
cmcmarrow Jul 24, 2023
c4ae990
Fix gitfs tests
s0undt3ch Jul 27, 2023
1f670c2
It's `gitfs` not `gtfs`, plus some code fixes and cleanup
s0undt3ch Jul 27, 2023
89dd4f1
Update Python to 3.9.17
twangboy Aug 1, 2023
d426cbe
[3005.2] Update docs
Jul 31, 2023
a591139
Fix the request and pyzmq requirements
Aug 1, 2023
901487d
base64 hash
cmcmarrow Aug 2, 2023
5bab279
[3005.2] Update cryptography to 41.0.3
Aug 2, 2023
0bb8192
stop branch collision
cmcmarrow Aug 2, 2023
e9fd7dd
run pre
cmcmarrow Aug 2, 2023
fc8d83d
pre
cmcmarrow Aug 2, 2023
d111e2e
Merge v3005.2 into freeze
s0undt3ch Aug 14, 2023
af7e063
Merge pull request #64974 from s0undt3ch/freeze
s0undt3ch Aug 14, 2023
9dfd548
Update banners and links
ScriptAutomate May 10, 2023
333412b
fix 3005.2 build for MacOS
twangboy Aug 24, 2023
759ae29
Add proxy script to `console_scripts`
Sep 5, 2023
4adf83b
Bump to Python `3.9.18` due to CVE-2023-40217
s0undt3ch Aug 25, 2023
79b7131
Bump pygithub to >=3.1.35
Sep 11, 2023
ebfd6e1
changelog
Sep 11, 2023
3c452cb
port fix env
cmcmarrow Sep 6, 2023
9897037
fix minion tests
cmcmarrow Sep 6, 2023
83d090e
port minion_opts
cmcmarrow Sep 6, 2023
7fe72df
Remove the debian 10 specific code
s0undt3ch Sep 13, 2023
da92d69
Skip problematic test on Debian 10
s0undt3ch Sep 13, 2023
16e5696
Generate 3005.3 changelog
s0undt3ch Sep 14, 2023
4e17aa8
Update man-pages
s0undt3ch Sep 14, 2023
911160e
Add 3005.3 Release Notes
Sep 14, 2023
bc489f2
Skip more problematic tests on Debian 10 due to old AMI
s0undt3ch Sep 15, 2023
8c106fc
Merge 3005.x into freeze
s0undt3ch Sep 24, 2023
aad2f67
Bump to `sqren/[email protected]`
s0undt3ch Sep 24, 2023
1406599
Merge pull request #65270 from s0undt3ch/hotfix/backport
s0undt3ch Sep 24, 2023
29ae982
Downgrade to `sqren/[email protected]` at least errors ar…
s0undt3ch Sep 24, 2023
db0f920
Bump to `cryptography==41.0.4` due to https://github.com/advisories/G…
s0undt3ch Sep 22, 2023
b7735ab
Add pytest integration pre_flight integration tests for CVE-2023-34049
Sep 28, 2023
8ed7bad
Fix CVE-2023-34049
Sep 28, 2023
a05bd14
Do not run ssh integration tests on windows
Sep 28, 2023
e85ff36
Fix ssh tests on 3005
Sep 29, 2023
22afb44
Fix pre_flight tests on darwin
Oct 2, 2023
7158953
Remove filename from logs
Oct 3, 2023
805a8de
Fix logs in ssh tests
Oct 3, 2023
f805bc9
[3005.4] Update amazon linux 2 AMI
Oct 5, 2023
e31b6e2
Set version for redis docker tests
Oct 5, 2023
e556089
Merge pull request #554 from saltstack/fix_amazon_ami
garethgreenaway Oct 5, 2023
a71d1ae
Merge branch '3005.4' into 3005.4_fix_logs
Ch3LL Oct 5, 2023
03a96b2
Merge branch '3005.4' into fix_redis_3005
Ch3LL Oct 6, 2023
db9177d
Merge pull request #555 from saltstack/fix_redis_3005
garethgreenaway Oct 6, 2023
e2324d1
Merge branch '3005.4' into 3005.4_fix_logs
Ch3LL Oct 6, 2023
5c236ea
Bump urllib3 to 1.26.17 or 2.0.6
Oct 3, 2023
9429f45
Merge pull request #552 from saltstack/3005.4_fix_logs
Ch3LL Oct 9, 2023
db4636b
[3005.4] Update Amazon Linux 2 AMI
ScriptAutomate Oct 10, 2023
1184c5e
[3005.4] Update gitpython to 3.1.37
Oct 11, 2023
1d983e4
Prepare release notes, changelog, and man pages for 3005.4
Oct 16, 2023
67bdf8b
Fix CVE-2024-22231 and CVE-2024-22232
dwoz Jan 8, 2024
3468033
Fix linter issue
dwoz Jan 8, 2024
4a5839e
Clean up test fixtures
dwoz Jan 10, 2024
d9019bd
Add changelogs for CVE-2024-22231 and CVE-2024-22232
dwoz Jan 10, 2024
2c8f1b7
Add credit
dwoz Jan 17, 2024
8504ad8
Backport notarize.sh from 3006
twangboy Jan 23, 2024
01752fc
Stop time bombing with `RuntimeError`'s
s0undt3ch Jan 23, 2024
ac52f60
Create 3006.5 release notes and update 3005 changelog
barbaricyawps Jan 20, 2024
20aff06
Add minor revisions requested by Shane
barbaricyawps Jan 22, 2024
066ab8f
More revisions
barbaricyawps Jan 22, 2024
e39b65a
Add man pages
barbaricyawps Jan 24, 2024
2328566
Merge 3005.5 into 3005.x
s0undt3ch Jan 31, 2024
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
38 changes: 26 additions & 12 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,36 @@ name: Docs

on: [push, pull_request]

permissions:
contents: read # for dorny/paths-filter to fetch a list of changed files
pull-requests: read # for dorny/paths-filter to read pull requests

jobs:
Salt:
name: Build Salt Documentation
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "medium", "x86_64"]') || 'ubuntu-latest' }}

container:
image: python:3.8.6-slim-buster
image: ghcr.io/saltstack/salt-ci-containers/python:3.8

steps:

- name: Install System Deps
run: |
echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y enchant git gcc imagemagick make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev xz-utils
apt-get install -y git/buster-backports
apt-get upgrade debian-keyring -y
echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y enchant-2 git gcc imagemagick make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev xz-utils

- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Add Git Safe Directory
run: |
git config --global --add safe.directory $(pwd)

- name: Install Nox
env:
PIP_EXTRA_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/
Expand Down Expand Up @@ -60,21 +69,26 @@ jobs:

Manpages:
name: Build Salt man Pages
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "medium", "x86_64"]') || 'ubuntu-latest' }}

container:
image: python:3.8.6-slim-buster
image: ghcr.io/saltstack/salt-ci-containers/python:3.8

steps:

- name: Install System Deps
run: |
echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y enchant git gcc imagemagick make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev
apt-get install -y git/buster-backports
apt-get upgrade debian-keyring -y
echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y enchant-2 git gcc imagemagick make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev

- uses: actions/checkout@v3

- uses: actions/checkout@v2
- name: Add Git Safe Directory
run: |
git config --global --add safe.directory $(pwd)

- id: changed-files
name: Get Changed Files
Expand Down
39 changes: 27 additions & 12 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,33 @@ name: Lint

on: [push, pull_request]

permissions:
contents: read # for dorny/paths-filter to fetch a list of changed files
pull-requests: read # for dorny/paths-filter to read pull requests

jobs:
Salt:
name: Lint Salt's Source Code
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "medium", "x86_64"]') || 'ubuntu-latest' }}

container:
image: python:3.8.6-slim-buster
image: ghcr.io/saltstack/salt-ci-containers/python:3.8

steps:

- name: Install System Deps
run: |
echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y enchant git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev
apt-get install -y git/buster-backports
apt-get upgrade debian-keyring -y
echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y enchant-2 git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Add Git Safe Directory
run: |
git config --global --add safe.directory $(pwd)

- name: Install Nox
env:
Expand Down Expand Up @@ -67,26 +76,32 @@ jobs:

Tests:
name: Lint Salt's Test Suite
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "medium", "x86_64"]') || 'ubuntu-latest' }}

container:
image: python:3.8.6-slim-buster
image: ghcr.io/saltstack/salt-ci-containers/python:3.8

steps:

- name: Install System Deps
run: |
echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y enchant git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev
apt-get install -y git/buster-backports
apt-get upgrade debian-keyring -y
echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y enchant-2 git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev

- uses: actions/checkout@v3

- uses: actions/checkout@v2
- name: Add Git Safe Directory
run: |
git config --global --add safe.directory $(pwd)

- name: Install Nox
env:
PIP_EXTRA_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/
run: |
git config --global --add safe.directory $(pwd)
python -m pip install --upgrade pip
pip install nox

Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,27 @@ on:
pull_request_target:
types: [opened, synchronize]

permissions:
contents: read # for dorny/paths-filter to fetch a list of changed files
pull-requests: read # for dorny/paths-filter to read pull requests

jobs:

Check-Changed-Files-Docstrings:
name: Check Docstrings For Changed Files On PR
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "x86_64"]') || 'ubuntu-latest' }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install Dependencies
env:
PIP_EXTRA_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/
run: |
git config --global --add safe.directory $(pwd)
python -m pip install --upgrade pip
pip install pre-commit pygithub

Expand Down
24 changes: 17 additions & 7 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,43 @@ name: Pre-Commit

on: [push, pull_request]

permissions:
contents: read # for dorny/paths-filter to fetch a list of changed files
pull-requests: read # for dorny/paths-filter to read pull requests

jobs:
Pre-Commit:
name: Run Pre-Commit Against Salt

runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "x86_64"]') || 'ubuntu-latest' }}

container:
image: python:3.8.6-slim-buster
image: ghcr.io/saltstack/salt-ci-containers/python:3.8

steps:

- name: Install System Deps
run: |
echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y enchant git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev
apt-get install -y git/buster-backports
apt-get upgrade debian-keyring -y
echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/sources.list
apt-get update
apt-get install -y enchant-2 git gcc make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Add Git Safe Directory
run: |
git config --global --add safe.directory $(pwd)

- name: Install Pre-Commit
env:
PIP_EXTRA_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/
run: |
git config --global --add safe.directory $(pwd)
python -m pip install --upgrade pip
pip install pre-commit
pre-commit install --install-hooks
pre-commit install --install-hooks || cat /root/.cache/pre-commit/pre-commit.log

- id: changed-files
name: Get Changed Files
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
jobs:
GenerateTagRelease:
name: Generate Tag and Github Release
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "x86_64"]') || 'ubuntu-latest' }}
steps:
- uses: dev-drprasad/[email protected]
if: github.event.inputs.reTag == 'true'
Expand All @@ -29,7 +29,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: ${{ github.event.inputs.saltRepo }}
ref: ${{ github.event.inputs.saltBranch }}
Expand All @@ -42,11 +42,11 @@ jobs:
custom_tag: ${{ github.event.inputs.saltVersion }}

- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.8

- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install pypa/build
run: |
python -m pip install build --user
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ on:
default: "master"
required: false

permissions:
contents: read # for dorny/paths-filter to fetch a list of changed files
pull-requests: read # for dorny/paths-filter to read pull requests

jobs:
SaltChangelog:
name: Build Salt Changelog
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "x86_64"]') || 'ubuntu-latest' }}

container:
image: python:3.8.6-slim-buster
Expand All @@ -32,7 +36,7 @@ jobs:
apt-get install -y enchant git gcc imagemagick make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev xz-utils
apt-get install -y git/buster-backports

- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch }}
fetch-depth: 0
Expand Down Expand Up @@ -81,7 +85,7 @@ jobs:

Manpages:
name: Build Salt man Pages
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "x86_64"]') || 'ubuntu-latest' }}

container:
image: python:3.8.6-slim-buster
Expand All @@ -96,7 +100,7 @@ jobs:
apt-get install -y enchant git gcc imagemagick make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev
apt-get install -y git/buster-backports

- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch }}

Expand Down Expand Up @@ -144,7 +148,7 @@ jobs:
PullRequest:
needs: [SaltChangelog, Manpages]
name: Create Pull Request
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "x86_64"]') || 'ubuntu-latest' }}

container:
image: python:3.8.6-slim-buster
Expand All @@ -157,7 +161,7 @@ jobs:
apt-get install -y enchant git gcc imagemagick make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev xz-utils
apt-get install -y git/buster-backports

- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch }}
fetch-depth: 0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:
jobs:
label-and-assign:
name: Triage New Issue
runs-on: ubuntu-latest
runs-on: ${{ github.event.repository.private && fromJSON('["self-hosted", "linux", "x86_64"]') || 'ubuntu-latest' }}
steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/twine-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

Expand Down
Loading
Loading