Skip to content

Adding SWHub.net

Adding SWHub.net #3791

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@v4
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@v4
with:
ref: refs/pull/${{ github.event.number }}/merge
- name: Get changed files
uses: lots0logs/[email protected]
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 }}