Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump peter-evans/create-pull-request from 5 to 6 #52

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-new-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
- name: Check for new version and update Dockerfile
id: check_version
run: |
n_vers=$(curl --silent "https://api.github.com/repos/firefly-iii/firefly-iii/releases/latest" | jq -r .tag_name)

Check warning on line 20 in .github/workflows/check-new-version.yml

View workflow job for this annotation

GitHub Actions / workflows / YAMLLint

line too long
echo "new_version=$n_vers" >> $GITHUB_OUTPUT
echo "version is $n_vers"

- name: Update Dockerfile
run: |
grep "ENV FIREFLY_VERSION=" firefly-iii/Dockerfile | cut -d= -f2
sed -i "s/ENV FIREFLY_VERSION=.*/ENV FIREFLY_VERSION=${{ steps.check_version.outputs.new_version }}/" firefly-iii/Dockerfile

Check warning on line 27 in .github/workflows/check-new-version.yml

View workflow job for this annotation

GitHub Actions / workflows / YAMLLint

line too long

- name: Check if Dockerfile has changed
uses: tj-actions/verify-changed-files@v17
Expand All @@ -35,7 +35,7 @@

- name: Create PR
if: steps.verify_changed_files.outputs.files_changed == 'true'
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.DISPATCH_TOKEN }}
commit-message: "update firefly to version ${{ steps.check_version.outputs.new_version }}"
Expand Down