Skip to content

Commit

Permalink
Update action versions (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
branic authored Mar 6, 2024
1 parent 4f859c6 commit b905b28
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_ee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
steps:

- name: Checkout tooling repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: redhat-cop/ansible_collections_tooling

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/create_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
env:
ANSIBLE_FORCE_COLOR: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand All @@ -48,7 +48,7 @@ jobs:

- name: Create Pull Request
id: prcreate
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.token }}
commit-message: Update changelog ${{ github.ref }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/internal-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Ansible
run: pip install --upgrade ansible-core
if: inputs.collection_dependencies
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].1
...
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Ansible
Expand All @@ -48,5 +48,5 @@ jobs:
- name: Install collection dependencies
run: ansible-galaxy collection install ${{ inputs.collection_dependencies }}
if: inputs.collection_dependencies
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].1
...
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update_precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
env:
ANSIBLE_FORCE_COLOR: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install pre-commit
run: pip install --upgrade pre-commit

- name: Update pre-commit
run: pre-commit autoupdate

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand All @@ -35,11 +35,11 @@ jobs:

- name: Run Pre-commit to alert of any linting changes.
continue-on-error: true
uses: pre-commit/[email protected].0
uses: pre-commit/[email protected].1

- name: Create Pull Request
id: prcreate
uses: peter-evans/create-pull-request@v4.2.3
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.token }}
commit-message: Update pre-commit
Expand Down

0 comments on commit b905b28

Please sign in to comment.