Jelajahi Sumber

Fixing 'add-content-to-project' workflow (#57)

Ivan De Marino 2 tahun lalu
induk
melakukan
8b933d2b91
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      .github/workflows/add-content-to-project.yml

+ 1 - 1
.github/workflows/add-content-to-project.yml

@@ -30,7 +30,7 @@ jobs:
           custom_field_values: '[{\"name\":\"Priority\",\"type\":\"single_select\",\"value\":\"Triage Next\"}]'
       - name: "Set Pull Request to 'Priority = Triage Next'"
         uses: leonsteinhaeuser/project-beta-automations@v1.2.1
-        if: github.event_name == 'pull_request'
+        if: github.event_name == 'pull_request_target'
         with:
           gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }}
           organization: "hashicorp"