Skip to content

Commit

Permalink
TMP Compute index diff on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Oct 28, 2024
1 parent 1a67c9a commit 993296a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
- fix-alpine-linux
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
Expand All @@ -23,7 +24,12 @@ jobs:
- run: ./scala-cli.sh src
env:
GH_TOKEN: ${{ secrets.INDEX_GITHUB_TOKEN }}

- name: Print diff
run: git diff --color

- name: Create Pull Request
if: github.ref == 'refs/heads/master'
id: cpr
uses: peter-evans/[email protected]
with:
Expand All @@ -32,6 +38,7 @@ jobs:
delete-branch: true
title: Update index
- name: Generate Job Summary
if: github.ref == 'refs/heads/master'
run: |-
PR_NUMBER=$(echo "${{ steps.cpr.outputs.pull-request-number }}")
PR_URL=$(echo "${{ steps.cpr.outputs.pull-request-url }}")
Expand Down

0 comments on commit 993296a

Please sign in to comment.