Skip to content

GitHub Actions: Fix goreleaser workflow (#152) #113

GitHub Actions: Fix goreleaser workflow (#152)

GitHub Actions: Fix goreleaser workflow (#152) #113

Workflow file for this run

name: Update Data
on:
workflow_dispatch:
schedule:
- cron: '13 3 * * *'
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
permissions:
contents: read
jobs:
update-data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
with:
php-version: '8.5'
coverage: none
- uses: ramsey/composer-install@65e4f84970763564f46a70b8a54b90d033b3bdda # 4.0.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: 'go.mod'
- run: ./bin/generate-data
- run: ./bin/generate-test-data
- uses: typisttech/create-auto-merged-pull-request-action@05e85fff478e9ff9dfbb4b6d95622b6a8ebafe78 # v0.2.0
with:
client-id: ${{ vars.TASTENDRUCK_CLIENT_ID }}
private-key: ${{ secrets.TASTENDRUCK_PRIVATE_KEY }}
branch: "tastendruck/github_actions/update-data/${{ github.ref_name }}"
title: ":robot: `./bin/generate-data && ./bin/generate-test-data`"
labels: update-data
add-paths: |
/tests/data/versions/*
/data/*