diff --git a/.github/workflows/check-go-dependencies-task.yml b/.github/workflows/check-go-dependencies-task.yml index 27f60f0c220..ddc99cd0cb0 100644 --- a/.github/workflows/check-go-dependencies-task.yml +++ b/.github/workflows/check-go-dependencies-task.yml @@ -14,6 +14,7 @@ on: - ".licenses/**" - ".licensed.json" - ".licensed.ya?ml" + - "debian/arduino-cli/usr/share/doc/arduino-cli/copyright" - "Taskfile.ya?ml" - "**/.gitmodules" - "**/go.mod" @@ -24,6 +25,7 @@ on: - ".licenses/**" - ".licensed.json" - ".licensed.ya?ml" + - "debian/arduino-cli/usr/share/doc/arduino-cli/copyright" - "Taskfile.ya?ml" - "**/.gitmodules" - "**/go.mod" @@ -139,8 +141,3 @@ jobs: - name: Check for dependencies with unapproved licenses run: task --silent general:check-dep-licenses - - - name: Check debian copyright file - run: | - task update-deb-copyright - git diff --color --exit-code diff --git a/.github/workflows/check-license.yml b/.github/workflows/check-license.yml index 7ec1fbc632a..6acf5338f2b 100644 --- a/.github/workflows/check-license.yml +++ b/.github/workflows/check-license.yml @@ -41,12 +41,6 @@ jobs: with: ruby-version: ruby # Install latest version - - name: Install Task - uses: arduino/setup-task@v2 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - version: 3.x - - name: Install licensee run: gem install licensee @@ -71,8 +65,3 @@ jobs: fi exit $EXIT_STATUS - - - name: Check debian copyright file - run: | - task update-deb-copyright - git diff --color --exit-code diff --git a/Taskfile.yml b/Taskfile.yml index a457237320b..90024441d36 100755 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -4,7 +4,7 @@ includes: dist: ./DistTasks.yml tasks: - update-deb-copyright: + general:update-deb-copyright: desc: Extract project and dependency licenses into debian copyright cmds: - | @@ -57,6 +57,7 @@ tasks: exit 1 fi - licensed cache + - task: general:update-deb-copyright # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies-task/Taskfile.yml general:check-dep-licenses: