Skip to content

Commit

Permalink
DO NOT KEEP Compute index diff on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Oct 21, 2024
1 parent 37a8493 commit 2e7bf8c
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
- tweak-oracle-stuff
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
Expand All @@ -19,7 +20,12 @@ jobs:
- run: ./scala-cli.sh .
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 @@ -28,6 +34,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 2e7bf8c

Please sign in to comment.