Merge pull request #483 from ccamel/dependabot/docker/golang-1.23.4 #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Give thanks | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
jobs: | |
give-thanks-golang: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Find changed dependencies | |
id: changed-dependencies | |
uses: tj-actions/changed-files@v45.0.4 | |
with: | |
files: | | |
go.mod | |
- name: Give thanks! (for golang projects) | |
if: | | |
steps.changed-dependencies.outputs.any_changed == 'true' || | |
github.event_name == 'workflow_dispatch' || | |
github.event_name == 'workflow_call' | |
run: | | |
docker run --rm \ | |
-v $(pwd):/home \ | |
psampaz/gothanks:v0.5.0 \ | |
-y \ | |
-github-token=${{ secrets.STAR_TOKEN }} |