Skip to content

Commit

Permalink
Update the following actions to use Node.js 16: actions/checkout@v2, …
Browse files Browse the repository at this point in the history
…actions/setup-python@v2
  • Loading branch information
github-actions committed Nov 25, 2022
1 parent 57e828a commit 5d5c2a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ jobs:
steps:
- name: Checkout master with GH_PAT
if: ${{ env.FUCK_GH_PAT }}
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2
ref: main
token: ${{ secrets.GH_PAT }}

- name: Checkout master without GH_PAT
if: ${{ !env.FUCK_GH_PAT }}
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: main

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

Expand Down
6 changes: 3 additions & 3 deletions edit_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@
steps:
- name: Checkout master with GH_PAT
if: ${{ env.FUCK_GH_PAT }}
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2
ref: main
token: ${{ secrets.GH_PAT }}
- name: Checkout master without GH_PAT
if: ${{ !env.FUCK_GH_PAT }}
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: main
- name: Set up python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
Expand Down

0 comments on commit 5d5c2a7

Please sign in to comment.