Update update.yml

This commit is contained in:
Leonardo Eugênio 2024-07-05 15:18:13 -03:00 committed by GitHub
parent 592193244b
commit eca167dfeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
name: Update name: update
on: on:
schedule: schedule:
@ -10,8 +10,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
ref: 'outdated'
- uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main - uses: DeterminateSystems/magic-nix-cache-action@main
- name: Install jq - name: Install jq
@ -34,7 +32,7 @@ jobs:
if: ${{ steps.current-version.outputs.version != steps.new-version.outputs.version }} if: ${{ steps.current-version.outputs.version != steps.new-version.outputs.version }}
uses: peter-evans/create-pull-request@v5 uses: peter-evans/create-pull-request@v5
with: with:
base: outdated base: main
add-paths: ./package/ add-paths: ./package/
commit-message: update ${{ steps.current-version.outputs.version }} -> ${{ steps.new-version.outputs.version }} commit-message: update ${{ steps.current-version.outputs.version }} -> ${{ steps.new-version.outputs.version }}
title: '[Automated] Update dzgui ${{ steps.new-version.outputs.version }}' title: '[Automated] Update dzgui ${{ steps.new-version.outputs.version }}'