Skip to content

Automatically check licenses and request review for target updates #2760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/updateTarget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
mkdir -p target
echo '## Everything is up to date' > target/targetUpdates.md
- name: Create Pull Request
id: create-pr
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
with:
commit-message: Update target-platform with latest version
Expand All @@ -63,3 +64,11 @@ jobs:
author: ${{ inputs.author }}
add-paths: |
**/*.target
- name: Check license vetting status and ask for review if required
if: ${{ steps.create-pr.outputs.pull-request-operation == 'created' }} || ${{ steps.create-pr.outputs.pull-request-operation }} == 'updated'
uses: eclipse-dash/dash-licenses/.github/actions/maven-license-check-action@master
with:
request-review: true
project-id: eclipse.platform
env:
GITLAB_API_TOKEN: ${{ secrets.ECLIPSE_GITLAB_API_TOKEN }}