Skip to content

Merge branch 'release_feature' into test_rel2 #89

Merge branch 'release_feature' into test_rel2

Merge branch 'release_feature' into test_rel2 #89

Workflow file for this run

name: DepSafe
on:
pull_request_target:
types: [opened, reopened, synchronize]
on:

Check failure on line 7 in .github/workflows/pr-metadata.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-metadata.yaml

Invalid workflow file

You have an error in your yaml syntax on line 7
release:
types: [published]
jobs:
detect-unsafe-pr:
runs-on: ubuntu-latest
name: Check pull request with changes
if: github.event_name == 'pull_request_target'
steps:
- name: Check PR
uses: supatsara-wat/DepSafe@release_feature
with:
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
pr_number: ${{ github.event.number }}
token: ${{ secrets.GITHUB_TOKEN }}
type: "check_pr"
check-unsafe-release:
runs-on: ubuntu-latest
name: Check pull request with changes
if: github.event_name == 'release'
steps:
- name: Check Opened PRs
uses: supatsara-wat/DepSafe@release_feature
with:
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
pr_number: ${{ github.event.number }}
token: ${{ secrets.GITHUB_TOKEN }}
type: "check_release"