Skip to content

[pull] master from LabyMod:master #274

[pull] master from LabyMod:master

[pull] master from LabyMod:master #274

Workflow file for this run

name: Validate
on: [pull_request_target]
jobs:
validate_images:
name: Images
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: refs/pull/${{ github.event.number }}/merge
- name: Validate images
uses: LabyMod/server-media/.github/actions/validate@master
validate_manifest:
name: Manifest
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: refs/pull/${{ github.event.number }}/merge
- name: Get changed files
#uses: lots0logs/[email protected]
uses: Raik0707/gh-action-get-changed-files@feature/support-pr-target-event # Remove as soon as PR is merged
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Add json
run:
cp ${HOME}/files.json ./
- name: Validate manifest
uses: LabyMod/server-media/.github/actions/validate-manifest@master
env:
PR_ID: ${{ github.event.pull_request.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
COMMIT_URL: ${{ github.event.pull_request.head.repo.commits_url }}
PR_ACTION: ${{ github.event.action }}