Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/actions/privacy-review/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,28 @@ runs:
asana-task-comment-is-html: true
asana-task-comment-pinned: false
action: 'post-comment-asana-task'

# Requirements on the github_pat:
# - actions: write on duckduckgo/privacy-review-automation
# E2E-TEST REF: pinned to the in-flight classifier branch with the
# privacy_triage_task_id input + dual-link Step 5. Revert to 'main'
# before merging this PR.
- name: Dispatch AI Privacy Review classifier
if: ${{ steps.create-review-task.outputs.taskId != '' }}
uses: actions/github-script@v7
env:
PR_URL: ${{ github.event.pull_request.html_url }}
TRIAGE_TASK_ID: ${{ steps.create-review-task.outputs.taskId }}
with:
github-token: ${{ inputs.github_pat }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'duckduckgo',
repo: 'privacy-review-automation',
workflow_id: 'privacy-review-classifier.lock.yml',
ref: 'la/triage-id-link',
Comment thread
ladamski marked this conversation as resolved.
inputs: {
pr_url: process.env.PR_URL,
privacy_triage_task_id: process.env.TRIAGE_TASK_ID,
},
});
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@duckduckgo/native-github-asana-sync",
"version": "1.3.0",
"version": "2.4.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
Loading