Extract file path to URL generation in to common utility functions #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Changelog | |
on: | |
workflow_dispatch: ~ | |
schedule: | |
- cron: "0 0 * * 0" | |
push: ~ | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
build-changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install link checker deps (temporary until refactoring) | |
working-directory: tools/broken-link-checker | |
run: | | |
npm ci | |
- name: Run changelog script | |
working-directory: tools/changelog-generator | |
run: | | |
npm ci | |
node changelog.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
title: Automated Changelog update | |
labels: skip-changelog |