Skip to content

Update Providers (On Demand) #10

Update Providers (On Demand)

Update Providers (On Demand) #10

Workflow file for this run

name: Update Providers (On Demand)
on:
workflow_dispatch:
jobs:
update-providers:
name: Update Providers (On Demand)
runs-on: ubuntu-latest
permissions:
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Deno
uses: denoland/setup-deno@v1
- name: Fetch & Update Providers
run: deno task fetch-data
- name: Commit changes
id: auto-commit-action
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Providers (on demand)
commit_options: '--no-verify'
- name: "Run if changes have been detected"
if: steps.auto-commit-action.outputs.changes_detected == 'true'
run: echo "Changes detected"
- name: "Run if no changes have been detected"
if: steps.auto-commit-action.outputs.changes_detected == 'false'
run: echo "No Changes detected"
- name: "Create Release"
if: steps.auto-commit-action.outputs.changes_detected == 'true'
uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: patch