Skip to content

Commit

Permalink
add comment instead of trying to add to project board
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahs committed Nov 30, 2020
1 parent cba08c7 commit 4ba63f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/allowed-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = [
'lee-dohm/close-matching-issues@22002609b2555fe18f52b8e2e7c07cbf5529e8a8',
'pascalgn/automerge-action@c9bd182',
'peter-evans/create-issue-from-file@a04ce672e3acedb1f8e416b46716ddfd09905326',
'peter-evans/create-or-update-project-card@80140aaeb9730972a83c626031250621fe8f6670',
'peter-evans/create-or-update-comment@5221bf4aa615e5c6e95bb142f9673a9c791be2cd',
'peter-evans/create-pull-request@938e6aea6f8dbdaced2064e948cb806c77fe87b8',
'rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9',
'rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e',
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/check-all-english-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- name: Run script
run: |
script/check-english-links.js > broken_links.md
echo -e '\ncc @github/docs-content'>> broken_links.md
- if: ${{ failure() }}
name: Get title for issue
id: check
Expand All @@ -40,11 +39,10 @@ jobs:
content-filepath: ./broken_links.md
labels: broken link report
- if: ${{ failure() }}
name: Add issue to FR project board
uses: peter-evans/create-or-update-project-card@80140aaeb9730972a83c626031250621fe8f6670
name: Add comment to issue
uses: peter-evans/create-or-update-comment@5221bf4aa615e5c6e95bb142f9673a9c791be2cd
with:
project-location: 'github'
project-number: '1367'
column-name: 'Docs-content FR issues'
body: |
cc @github/docs-content
issue-number: ${{ steps.broken-link-report.outputs.issue-number }}
token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}

0 comments on commit 4ba63f2

Please sign in to comment.