]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
👷 Add GitHub Action add-to-project (#1066)
authorSebastián Ramírez <tiangolo@gmail.com>
Mon, 12 Aug 2024 23:07:25 +0000 (18:07 -0500)
committerGitHub <noreply@github.com>
Mon, 12 Aug 2024 23:07:25 +0000 (23:07 +0000)
.github/workflows/add-to-project.yml [new file with mode: 0644]

diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml
new file mode 100644 (file)
index 0000000..701f06f
--- /dev/null
@@ -0,0 +1,22 @@
+name: Add to Project
+
+on:
+  pull_request:
+    types:
+      - opened
+      - reopened
+      - synchronize
+  issues:
+    types:
+      - opened
+      - reopened
+
+jobs:
+  add-to-project:
+    name: Add to project
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/add-to-project@v1.0.2
+        with:
+          project-url: https://github.com/orgs/fastapi/projects/2
+          github-token: ${{ secrets.PROJECTS_TOKEN }}