Skip to content

Commit

Permalink
[CI] Disable dash-licenses auto-review mode
Browse files Browse the repository at this point in the history
Related issue: #14127

The Eclipse Foundation Gitlab token, required for dash-licenses to
automatically open IP ticket for suspicious license in dependencies.
is about to expire. Until it's replaced, we can have the workflow use
the basic mode, where dependecies with suspicious licenses are only
listed, and have to be handled offline [1].

[1]: To have dash-licenses help with opening IP tickets automatically
     e.g. after a PR license check workflow failure. Any committer can
     generate a token from EF Gitlab at the link below and set it in
     an environment variable, and then use it when running dash-licenses
     from their laptop.

e.g.

theia$ git checkout <PR branch> && yarn
theia$ export DASH_LICENSES_PAT="<token>"
theia$ yarn license:check:review

https://gitlab.eclipse.org/-/user_settings/personal_access_tokens

Signed-off-by: Marc Dumais <[email protected]>
  • Loading branch information
marcdumais-work committed Sep 6, 2024
1 parent 19556f4 commit 06dc17f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,4 @@ jobs:
if: matrix.tests != 'skip'
shell: bash
run: |
yarn license:check:review || ( sleep 15m && yarn license:check:review )
env:
DASH_LICENSES_PAT: ${{ secrets.DASH_LICENSES_PAT }}
yarn license:check

0 comments on commit 06dc17f

Please sign in to comment.