Merge pull request #138 from weaveworks/WGE3636-spike-create-amber-tr… #32
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: update toc | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
jobs: | |
update-toc: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Update README | |
run: ./hack/update-toc.sh | |
- name: Create Pull Request | |
id: cpr | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
commit-message: | | |
Update TOC | |
committer: GitHub <[email protected]> | |
author: weaveworks-admin-bot <[email protected]> | |
branch: update-toc | |
title: Update TOC | |
- name: Check output | |
run: | | |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | |
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" | |