mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
add workflows to test new project automation (#1023)
This commit is contained in:
parent
05be9e25ce
commit
f35a252ecf
17
.github/workflows/issues.yaml
vendored
Normal file
17
.github/workflows/issues.yaml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
# Uses https://github.com/actions/add-to-project example to add issues to Anchore OSS project
|
||||
name: Add issues to OSS project
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
add-to-project:
|
||||
name: Add issue to project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/add-to-project@main
|
||||
with:
|
||||
project-url: https://github.com/orgs/anchore/projects/22
|
||||
github-token: ${{ secrets.CI_WRITE_GITHUB_TOKEN }}
|
||||
17
.github/workflows/pr.yaml
vendored
Normal file
17
.github/workflows/pr.yaml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
# Uses https://github.com/actions/add-to-project example to add PR to Anchore OSS project
|
||||
name: Add pr to OSS project
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
add-to-project:
|
||||
name: Add pr to project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/add-to-project@main
|
||||
with:
|
||||
project-url: https://github.com/orgs/anchore/projects/22
|
||||
github-token: ${{ secrets.CI_WRITE_GITHUB_TOKEN }}
|
||||
Loading…
x
Reference in New Issue
Block a user