Skip to content

Commit

Permalink
Add workflow to trigger updates for auto listings
Browse files Browse the repository at this point in the history
  • Loading branch information
rilwis committed Nov 19, 2024
1 parent c28f696 commit 6792a48
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/trigger-auto-listings-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Reusable workflow to trigger update on auto listings plugin

on:
workflow_call:
secrets:
ACCESS_TOKEN:
required: true

jobs:
trigger-update:
runs-on: ubuntu-latest
steps:
- name: Trigger update on Auto Listings
run:
curl --request POST --url https://api.github.com/repos/elightup/auto-listings/actions/workflows/update-from-extensions.yml/dispatches --header 'Authorization:Bearer ${{ secrets.ACCESS_TOKEN }}' --header 'content-type:application/json' --data '{"ref":"master"}'

0 comments on commit 6792a48

Please sign in to comment.