mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
fix: remove modrinth-bot from commentss
This commit is contained in:
@@ -14,12 +14,14 @@ jobs:
|
|||||||
comment:
|
comment:
|
||||||
name: Post changelog comment
|
name: Post changelog comment
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Post or update changelog comment
|
- name: Post or update changelog comment
|
||||||
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.CROWDIN_GH_TOKEN }}
|
github-token: ${{ github.token }}
|
||||||
script: |
|
script: |
|
||||||
const marker = '<!-- changelog -->';
|
const marker = '<!-- changelog -->';
|
||||||
const mergedMarker = '<!-- changelog-merged -->';
|
const mergedMarker = '<!-- changelog-merged -->';
|
||||||
|
|||||||
@@ -118,6 +118,8 @@ jobs:
|
|||||||
&& needs.deploy.result == 'success'
|
&& needs.deploy.result == 'success'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [metadata, deploy, deploy-storybook]
|
needs: [metadata, deploy, deploy-storybook]
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Download deployment URLs
|
- name: Download deployment URLs
|
||||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||||
@@ -158,7 +160,7 @@ jobs:
|
|||||||
uses: peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad # v4.0.0
|
uses: peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad # v4.0.0
|
||||||
id: fc
|
id: fc
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CROWDIN_GH_TOKEN }}
|
token: ${{ github.token }}
|
||||||
issue-number: ${{ github.event.pull_request.number }}
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
body-includes: Frontend previews
|
body-includes: Frontend previews
|
||||||
|
|
||||||
@@ -166,7 +168,7 @@ jobs:
|
|||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
|
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CROWDIN_GH_TOKEN }}
|
token: ${{ github.token }}
|
||||||
issue-number: ${{ github.event.pull_request.number }}
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||||
body: |
|
body: |
|
||||||
|
|||||||
Reference in New Issue
Block a user