Skip to content

Daily Upstream Check for Postman Docs #207

Daily Upstream Check for Postman Docs

Daily Upstream Check for Postman Docs #207

name: Daily Upstream Check for Postman Docs
on:
schedule:
- cron: "58 4 * * *"
workflow_dispatch:
jobs:
update-json-pr:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write # Needed to create the PR
steps:
- uses: actions/checkout@v4
with:
ref: develop
- name: Fetch JSON
run: ./misc/get_postman.sh
- name: Process JSON
run: ./misc/process_postman.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.PAT_TOKEN }}
commit-message: "chore: update postman json"
title: "Update Postman Documentation"
body: "The postman documentation has changed. This PR updates the local copy."
branch: "automated-postman-update"
base: "develop"