[Marquee Block] Update to Marquee block test scripts as per the Milo changes media locator #1504
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: Run Nala | |
on: | |
pull_request: | |
types: [ labeled, opened, synchronize, reopened ] | |
jobs: | |
action: | |
name: Running tests | |
if: ${{ contains(join(github.event.pull_request.labels.*.name, ' '), 'run-') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Run Nala | |
uses: ./ | |
env: | |
labels: ${{ join(github.event.pull_request.labels.*.name, ' ') }} | |
branch: ${{ github.event.pull_request.head.ref }} | |
prUrl: ${{ github.event.pull_request.head.repo.html_url }} | |
prOrg: ${{ github.event.pull_request.head.repo.owner.login }} | |
prRepo: ${{ github.event.pull_request.head.repo.name }} | |
prBranch: ${{ github.event.pull_request.head.ref }} | |
prBaseBranch: ${{ github.event.pull_request.base.ref }} | |
IMS_EMAIL: ${{ secrets.IMS_EMAIL }} | |
IMS_PASS: ${{ secrets.IMS_PASS }} | |
HLX_TKN: ${{ secrets.HLX_TKN }} | |
SLACK_WH: ${{ secrets.SLACK_WH }} | |
- name: Persist JSON Artifact | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: nala-results | |
path: nala-results.json | |
retention-days: 30 |