Skip to content

Commit

Permalink
Merge pull request #17 from cmbuckley/dependabot/github_actions/peter…
Browse files Browse the repository at this point in the history
…-evans/create-pull-request-7

Bump peter-evans/create-pull-request from 6 to 7
  • Loading branch information
cmbuckley authored Sep 4, 2024
2 parents a4823be + 6e7a7ad commit 1b2b27c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ jobs:
name: Build CV Assets
runs-on: ubuntu-latest
steps:
- name: Set up git repo
- name: Checkout repo
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- name: Install LaTeX packages
run: |
sudo apt-get update
Expand All @@ -40,12 +38,10 @@ jobs:
role: ${{ steps.details.outputs.role }}
company: ${{ steps.details.outputs.company }}
steps:
- name: Set up git repo
- name: Checkout repo
uses: actions/checkout@v4
- name: Get current role and location
id: details
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
echo "existing=$(gh api user -q .bio)" >> $GITHUB_OUTPUT
echo "role=$(awk -v col=4 -f _src/role.awk _src/cv.tex)" >> $GITHUB_OUTPUT
Expand All @@ -66,7 +62,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: gh api -X PATCH user -F "bio=${{ format('{0} at {1}', needs.check-role.outputs.role, needs.check-role.outputs.company) }}"
- name: Set up git repo for main site
- name: Checkout main site repo
uses: actions/checkout@v4
with:
repository: ${{ github.repository_owner }}/${{ github.repository_owner }}.github.io
Expand All @@ -86,7 +82,7 @@ jobs:
include: site/_config.yml
- name: Create Pull Request
id: pull-request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GH_TOKEN }}
path: ${{ github.workspace }}/site
Expand Down

0 comments on commit 1b2b27c

Please sign in to comment.