-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try committing from top level workflow
- Loading branch information
1 parent
19b1645
commit ed68277
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,10 @@ permissions: | |
|
||
jobs: | ||
generate-screenshots-linux: | ||
permissions: | ||
# Give the default GITHUB_TOKEN write permission to commit and push the | ||
# added or changed files to the repository. | ||
contents: write | ||
env: | ||
NODE_OPTIONS: "--max-old-space-size=7168" | ||
FORCE_COLOR: 3 | ||
|
@@ -58,6 +62,27 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} | ||
|
||
# - uses: actions/checkout@v4 | ||
# # Include the pull request ref in the checkout action to prevent merge commit | ||
# # https://github.com/actions/checkout?tab=readme-ov-file#checkout-pull-request-head-commit-instead-of-merge-commit | ||
# with: | ||
# ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
# Run steps that make changes to the local repo here. | ||
- name: Make changes and commit | ||
run: | | ||
echo "Test commit in generate-screenshots" > file0.txt | ||
git add . | ||
# Commit all changed files back to the repository | ||
- uses: planetscale/[email protected] | ||
with: | ||
commit_message: "Automated commit, generate-screenshots" | ||
repo: ${{ github.repository }} | ||
branch: ${{ github.head_ref || github.ref_name }} | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
||
- name: Setup git user | ||
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-git-user@develop | ||
- name: Setup the toolchain | ||
|