Test #30
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 | |
on: | |
- workflow_dispatch | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
env: | |
# For testing purposes, publish to this repository | |
TARGET_REPO_NAME: dequelabs/action-vpat-publish | |
steps: | |
- uses: actions/checkout@v3 | |
- run: content=$(cat test/vpat.html) | |
- name: Test publish action | |
uses: ./ | |
with: | |
target-repo: ${{ env.TARGET_REPO_NAME }} | |
target-repo-github-token: ${{ secrets.GITHUB_TOKEN }} | |
target-repo-base-branch: main | |
target-repo-vpat-directory: vpats | |
product-id: test | |
vpat-content: $content | |
- name: Test publish action again to simulate updating an existing PR | |
uses: ./ | |
with: | |
target-repo: ${{ env.TARGET_REPO_NAME }} | |
target-repo-github-token: ${{ secrets.GITHUB_TOKEN }} | |
target-repo-base-branch: main | |
target-repo-vpat-directory: vpats | |
product-id: test | |
vpat-content: $content |