Create error and fix #77
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: test-extended-configs | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# TODO add an action workflow to ensure every file in .circleci/extended appears in this list | |
configfile: ["heroku-deploy", "pylint", "test-with-postgresql"] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Replace config | |
run: cp .circleci/extended/${{ matrix.configfile }}.yml .circleci/config.yml | |
- name: commit-push_branch-test | |
uses: dsayling/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
files: ".circleci/config.yml" | |
commit-message: "Update circleci config for ${{ matrix.configfile }} from ${{github.event.pull_request.head.ref}}" | |
dest-branch: ${{github.event.pull_request.head.ref}}-${{ matrix.configfile }} | |
verify-checks: true | |
delete-after-checks: true | |