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

Atualiza versões dos GitHub actions #269

Merged
merged 3 commits into from
Nov 18, 2024
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: 1 addition & 1 deletion .github/workflows/json-yaml-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
json-yaml-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2

- name: json-yaml-validate
id: json-yaml-validate
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Prettier

on:
pull_request:
branches:
- main
push:
branches:
- main
Expand All @@ -12,10 +14,9 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v4.2.2
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Run Prettier
uses: AbdulRehman-1/pr-prettier@initial
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sort-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
with:
ref: ${{ github.head_ref }}

- name: Get changed data files
id: changed-data
uses: tj-actions/changed-files@v45
uses: tj-actions/changed-files@v45.0.4
with:
files: assets/data/**.json

- name: Setup Python
if: steps.changed-data.outputs.any_changed == 'true'
uses: actions/setup-python@v5
uses: actions/setup-python@v5.3.0
with:
python-version: '3.12'
python-version: "3.12"

- name: Sort data files
if: steps.changed-data.outputs.any_changed == 'true'
Expand All @@ -48,7 +48,7 @@ jobs:
done

# commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5
- uses: stefanzweifel/git-auto-commit-action@v5.0.1
if: steps.changed-data.outputs.any_changed == 'true'
with:
commit_message: Sort data files
Loading