Skip to content

Commit

Permalink
Fixed formatting of date in workflow PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
andeplane committed Jan 16, 2025
1 parent 6de7aa4 commit f6d1bb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/parse_fyrliste.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
git commit -m "Update generated files [skip ci]"
echo "::set-output name=changes::true"
fi
- name: Store build timestamp
run: echo "BUILD_TIME=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

# Step 7: Create Pull Request if there are changes
- name: Create Pull Request
Expand All @@ -61,7 +63,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update generated files
branch: update-fyrliste-${{ github.run_number }}
title: "Updated Fyrliste to ${{ format(github.event.repository.updated_at, 'YYYY-MM-DD') }}"
title: "Updated Fyrliste to ${{ env.BUILD_TIME }}"
body: |
This PR updates the generated files based on the latest run.
labels: automated-pr
Expand Down

0 comments on commit f6d1bb2

Please sign in to comment.