Skip to content

Commit

Permalink
[DEBUG]
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsiqueira committed May 30, 2024
1 parent 1da0ac1 commit bd7d103
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .github/workflows/PreCommitUpdate.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: pre-commit Update

on:
push:
branches:
- debug-pre-commit-update
schedule:
- cron: "0 7 1/7 * *" # At 7:00 every 7 days
workflow_dispatch:
Expand All @@ -20,16 +23,19 @@ jobs:
run: |
# autoupdate returns 1 if any changes were made
pre-commit autoupdate && "No updates"
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6
with:
commit-message: "chore: :robot: pre-commit update"
title: "[AUTO] pre-commit update"
branch: auto-pre-commit-update
delete-branch: true
labels: chore
- name: Check outputs
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
echo ">$?<"
- name: All ok
run: echo "all ok"
# - name: Create Pull Request
# id: cpr
# uses: peter-evans/create-pull-request@v6
# with:
# commit-message: "chore: :robot: pre-commit update"
# title: "[AUTO] pre-commit update"
# branch: auto-pre-commit-update
# delete-branch: true
# labels: chore
# - name: Check outputs
# run: |
# echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
# echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"

0 comments on commit bd7d103

Please sign in to comment.