mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2026-01-30 12:44:55 +01:00
36 lines
699 B
YAML
36 lines
699 B
YAML
name: Sync PR to Project
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
[
|
|
opened,
|
|
assigned,
|
|
unassigned,
|
|
edited,
|
|
ready_for_review,
|
|
converted_to_draft,
|
|
reopened,
|
|
synchronize,
|
|
closed,
|
|
]
|
|
|
|
jobs:
|
|
sync-project:
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: read
|
|
contents: read
|
|
|
|
steps:
|
|
- name: Sync PR to Project
|
|
uses: bec-project/action-issue-sync-pr@v1
|
|
with:
|
|
token: ${{ secrets.ADD_ISSUE_TO_PROJECT }}
|
|
org: "bec-project"
|
|
repo: "ophyd_devices"
|
|
project-number: 3
|
|
pr-number: ${{ github.event.pull_request.number }}
|