This commit is contained in:
zack 2024-10-20 01:23:49 -04:00
parent 720acb5cfc
commit 2dd02bb760
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35

View file

@ -24,6 +24,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
existing_pr=$(gh pr list --repo ${{ github.repository }} --head "auto-update-flake-" --state open --json number --jq '.[0].number')
echo "$existing_pr"
if [ -n "$existing_pr" ]; then
echo "pr_exists=true" >> $GITHUB_OUTPUT
echo "pr_number=$existing_pr" >> $GITHUB_OUTPUT