Skip to content

Commit

Permalink
in CI, use new standard scala/cla-checker action (#22203)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzaremmal authored Dec 16, 2024
2 parents da176c3 + 45f0d60 commit 7dc5008
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/fix-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assignees: ''

<!--
TODO first sign the CLA
https://www.lightbend.com/contribute/cla/scala
https://contribute.akka.io/cla/scala
-->

## Fix #XYZ
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/other-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assignees: ''

<!--
TODO first sign the CLA
https://www.lightbend.com/contribute/cla/scala
https://contribute.akka.io/cla/scala
-->

## Description
Expand Down
17 changes: 4 additions & 13 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,11 @@ on:
pull_request:
branches-ignore:
- 'language-reference-stable'
push:
branches:
- 'language-reference-stable'
merge_group:
permissions:
contents: write
pull-requests: write

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./project/scripts/check-cla.sh
if: github.event_name == 'pull_request'
env:
AUTHOR: ${{ github.event.pull_request.user.login }}
- name: Verify CLA
uses: scala/cla-checker@v1
with:
author: ${{ github.event.pull_request.user.login }}
2 changes: 1 addition & 1 deletion docs/_docs/contributing/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ The main development discussion channels are:
[java11]: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
[adopt]: https://adoptopenjdk.net/
[compat]: https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html
[scala-cla]: https://www.lightbend.com/contribute/cla/scala
[scala-cla]: https://contribute.akka.io/cla/scala
[dotty-issue]: https://github.com/scala/scala3/issues
[dotty-discussion]: https://github.com/scala/scala3/discussions
20 changes: 0 additions & 20 deletions project/scripts/check-cla.sh

This file was deleted.

0 comments on commit 7dc5008

Please sign in to comment.