Skip to content

filter by ref

filter by ref #58

name: Docker Build Rdev
on:
<<<<<<< Updated upstream

Check failure on line 4 in .github/workflows/docker-build-rdev.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-build-rdev.yaml

Invalid workflow file

You have an error in your yaml syntax on line 4
pull_request:
types: [ labeled, synchronize ]
paths:
- 'apiv2/**'
=======
- push
>>>>>>> Stashed changes
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
filter:
runs-on: [ARM64, self-hosted, Linux]
permissions:
id-token: write
issues: write
pull-requests: write
steps:
- name: Calculate Branch and Base Names
id: refs
uses: chanzuckerberg/github-actions/.github/actions/[email protected]
- uses: actions/github-script@v7
with:
script: |
const [owner, repo] = '${{ github.repository }}'.split('/');
const prs = await github.rest.pulls.list({
owner,
repo,
head: `chanzuckerberg:${{ steps.refs.outputs.headRef }}`,
});
console.log(JSON.stringify(prs.data, null, 2));
rdev_argus_builder:
needs: filter
uses: ./.github/workflows/workflow-argus-docker-build.yaml
secrets: inherit
with:
envs: rdev
path_filters: 'apiv2/**'