mirror of
https://github.com/github/awesome-copilot.git
synced 2026-10-12 23:04:14 +00:00
Publish full external plugin quality gate logs (#3668)
* fix(external-plugins): publish full quality gate logs Upload full external plugin quality gate output as workflow artifacts and link those artifacts from PR and intake comments. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Limit safeName length to 64 characters Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot App
Copilot Autofix powered by AI
parent
1874d1b88b
commit
a89cd67e19
@@ -117,13 +117,24 @@ jobs:
|
||||
env:
|
||||
CHANGED_PLUGINS_JSON: ${{ needs.detect-changed-plugins.outputs.changed-plugins }}
|
||||
run: |
|
||||
result=$(node ./eng/external-plugin-pr-quality-gates.mjs --plugins-json "$CHANGED_PLUGINS_JSON")
|
||||
result=$(node ./eng/external-plugin-pr-quality-gates.mjs \
|
||||
--plugins-json "$CHANGED_PLUGINS_JSON" \
|
||||
--logs-directory "${RUNNER_TEMP}/external-plugin-pr-quality-logs")
|
||||
{
|
||||
echo 'quality-result<<EOF'
|
||||
echo "$result"
|
||||
echo 'EOF'
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Upload full quality gate logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: external-plugin-pr-quality-logs
|
||||
path: ${{ runner.temp }}/external-plugin-pr-quality-logs
|
||||
if-no-files-found: warn
|
||||
retention-days: 14
|
||||
|
||||
publish-quality-result:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [detect-changed-plugins, run-quality-gates]
|
||||
|
||||
Reference in New Issue
Block a user