diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc8b8aa..5c2f8bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,8 @@ jobs: run: |- npm install npm run prepare + - name: Checkout and create latest-data branch + run: git checkout -b latest-data - name: Generate GTFS run: node src/index.js - id: vars @@ -32,7 +34,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: - title: $pr_title - body: $pr_body + title: ${{ steps.vars.outputs.pr_title }} + body: ${{ steps.vars.outputs.pr_body }} branch: latest-data delete-branch: true \ No newline at end of file