Skip to content

Commit

Permalink
Change to Workflow Run, versus Push (#366)
Browse files Browse the repository at this point in the history
* ACD154 Photos

* Remove twitter actions

* Use Workflow run
  • Loading branch information
Phaeton authored Oct 27, 2023
1 parent 83a1e31 commit 853bb69
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/update_readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@ permissions:
contents: write # Allow action to write back changes to repository.

on:
push:
branches: ["main"]
paths:
- "plane-alert-db.csv"
- "plane-alert-ukraine.csv"
- "plane-alert-pia.csv"
- "plane_images.csv"
- "scripts/update_readme.py"
workflow_run:
workflows: [checkDerivativesChange]
types:
- completed
branches: [main]

jobs:
updateREADME_md:
on-success:
if: github.repository == 'sdr-enthusiasts/plane-alert-db' || ${{ vars.CREATE_DERIVATIVES }}
name: Update README.md documentation for Changes
runs-on: ubuntu-latest
Expand Down

0 comments on commit 853bb69

Please sign in to comment.