diff options
| author | anatawa12 <anatawa12@icloud.com> | 2024-10-03 09:24:22 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-03 09:24:22 +0900 |
| commit | 6dde45745294c171d17b60971353e664846a7a57 (patch) | |
| tree | 4a3b22fc42ba7de8dce0bd179bb9e66a7dbf60c8 /.github | |
| parent | fix: sassのmodern-compilerを使うように (#14651) (diff) | |
| download | sharkey-6dde45745294c171d17b60971353e664846a7a57.tar.gz sharkey-6dde45745294c171d17b60971353e664846a7a57.tar.bz2 sharkey-6dde45745294c171d17b60971353e664846a7a57.zip | |
Misskey js autogen check improvements (#14652)
* ci: Make failure if misskey js autogen detected changes
* ci: set persist-credentials
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/check-misskey-js-autogen.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/check-misskey-js-autogen.yml b/.github/workflows/check-misskey-js-autogen.yml index 5afd7d2714..f26c9a4d45 100644 --- a/.github/workflows/check-misskey-js-autogen.yml +++ b/.github/workflows/check-misskey-js-autogen.yml @@ -21,6 +21,7 @@ jobs: uses: actions/checkout@v4.1.1 with: submodules: true + persist-credentials: false ref: refs/pull/${{ github.event.pull_request.number }}/merge - name: setup pnpm @@ -57,7 +58,7 @@ jobs: name: generated-misskey-js path: packages/misskey-js/generator/built/autogen - # pull_request_target safety: permissions: read-all, and there are no secrets used in this job + # pull_request_target safety: permissions: read-all, and no user codes are executed get-actual-misskey-js: runs-on: ubuntu-latest permissions: @@ -68,6 +69,7 @@ jobs: uses: actions/checkout@v4.1.1 with: submodules: true + persist-credentials: false ref: refs/pull/${{ github.event.pull_request.number }}/merge - name: Upload From Merged @@ -131,3 +133,7 @@ jobs: mode: delete message: "Thank you!" create_if_not_exists: false + + - name: Make failure if changes are detected + if: steps.check-changes.outputs.changes == 'true' + run: exit 1 |