From 0640bca3e438e7cca54b8b2f629ba65ce2f1bada Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Sun, 31 Aug 2025 20:26:01 -0400 Subject: [PATCH] Update check-for-actions-updates.yml --- .github/workflows/check-for-actions-updates.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-for-actions-updates.yml b/.github/workflows/check-for-actions-updates.yml index 30db6699..10b790ee 100644 --- a/.github/workflows/check-for-actions-updates.yml +++ b/.github/workflows/check-for-actions-updates.yml @@ -33,7 +33,7 @@ jobs: # Run actions-up and capture output echo "Running actions-up to check for updates..." - actions-up --dry-run > actions-up-raw.txt 2>&1 || true + actions-up > actions-up-raw.txt 2>&1 || true # Parse the output to detect updates if grep -q "→" actions-up-raw.txt; then @@ -51,9 +51,11 @@ jobs: echo "actions-up output:" cat actions-up-raw.txt - - name: Commit files - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git add .github/workflows/* - git diff --quiet && git diff --staged --quiet || git commit -am 'GitHub Actions Updates Needed' + - name: Create Pull Request + uses: peter-evans/create-pull-request@v6 # Use the action + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: "Automated changes" + title: "GitHub Actions versions neeeding updating" + body: "This PR was created automatically by a GitHub Action." + branch: "automated-pr-branch"