Skip to content

Commit

Permalink
Update devcontainer action create pr token
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Dec 15, 2023
1 parent 953411b commit 9ba9192
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,13 @@ jobs:
- name: Update devcontainer.json
run: sed -i "s|ghcr.io/dojoengine/dojo-dev:[a-zA-Z0-9._-]*|ghcr.io/dojoengine/dojo-dev:${{ needs.build-and-push.outputs.tag_name }}|" .devcontainer/devcontainer.json

- name: Setup Git credentials
run: |
git config user.name "GitHub Action"
git config user.email "[email protected]"
- name: Update ci devcontainers
run: sed -i "s|ghcr.io/dojoengine/dojo-dev:[a-zA-Z0-9._-]*|ghcr.io/dojoengine/dojo-dev:${{ needs.build-and-push.outputs.tag_name }}|" .github/workflows/ci.yml

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.CREATE_PR_TOKEN }}
title: "Update devcontainer image hash: ${{ needs.build-and-push.outputs.tag_name }}"
commit-message: "Update devcontainer image hash: ${{ needs.build-and-push.outputs.tag_name }}"
branch: devcontainer-${{ needs.build-and-push.outputs.tag_name }}
Expand Down

0 comments on commit 9ba9192

Please sign in to comment.