File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # To get started with Dependabot version updates, you'll need to specify which
2- # package ecosystems to update and where the package manifests are located.
3- # Please see the documentation for all configuration options:
4- # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5-
61version : 2
72updates :
83 - package-ecosystem : " gomod" # See documentation for possible values
94 directory : " /" # Location of package manifests
105 schedule :
116 interval : " weekly"
7+
Original file line number Diff line number Diff line change 1+ name : Check PR title
2+
3+ on :
4+ pull_request :
5+ types :
6+ - opened
7+ - reopened
8+ - edited
9+ - synchronize
10+
11+ jobs :
12+ lint :
13+ runs-on : ubuntu-latest
14+ permissions :
15+ statuses : write
16+ steps :
17+ - uses : aslafy-z/conventional-pr-title-action@v3
18+ env :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -9,21 +9,22 @@ permissions:
99 contents : write
1010
1111jobs :
12- dagger-go-flow :
13- name : dagger-go-flow
12+ release :
13+ name : Release
1414 runs-on : ubuntu-latest
1515 steps :
1616 - name : Checkout
1717 uses : actions/Checkout@v4
18- - name : Dagger Go Flow
19- uses : dagger/dagger-for-github@v7
18+ - name : Release
19+ uses : dagger/dagger-for-github@8.0.0
2020 env :
2121 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
22+ GPG_KEY : ${{ secrets.GPG_KEY }}
23+ GPG_KEY_ID : ${{ vars.GPG_KEY_ID }}
2224 with :
23- version : " latest "
25+ version : " v0.16.3 "
2426 verb : call
25- module : dagger
26- args : test-and- release --source=. --token=env://GITHUB_TOKEN
27+ module : github.com/MartinSimango/daggerverse/gopkg@v0.3.0
28+ args : " with-git-gpg-config --gpg-key=env://GPG_KEY --gpg-key-id=env://GPG_KEY_ID --git-author-name \" semantic- release-bot \" --git-author-email \" shukomango@gmail.com \" gopkg-flow -- source=. --dry-run=false -- token=env://GITHUB_TOKEN"
2729 cloud-token : ${{ secrets.DAGGER_CLOUD_TOKEN }}
2830
29-
Original file line number Diff line number Diff line change @@ -51,3 +51,43 @@ task-example:
5151act :
5252 act -P ubuntu-latest=catthehacker/ubuntu:act-latest
5353
54+
55+ # ## DAGGER ###
56+ release-with-gpg-pass :
57+ @dagger call -m gopkg with-git-gpg-config \
58+ --gpg-key=env://GPG_KEY \
59+ --gpg-key-id=env://GPG_KEY_ID \
60+ --gpg-password=env://GPG_PASSPHRASE \
61+ --git-author-name " semantic-release-bot" \
62+ --git-author-email " shukomango@gmail.com" \
63+ release \
64+ --source=. \
65+ --dry-run=false \
66+ --token=env://GITHUB_TOKEN
67+
68+ release-with-gpg-no-pass :
69+ @dagger call -m gopkg with-git-gpg-config \
70+ --gpg-key=env://GPG_KEY \
71+ --gpg-key-id=env://GPG_KEY_ID \
72+ --git-author-name " semantic-release-bot" \
73+ --git-author-email " shukomango@gmail.com" \
74+ release \
75+ --source=. \
76+ --dry-run=false \
77+ --token=env://GITHUB_TOKEN
78+
79+
80+ release :
81+ @dagger call -m gopkg release \
82+ --source=. \
83+ --dry-run=false \
84+ --token=env://GITHUB_TOKEN
85+
86+ release-dry-run :
87+ @dagger call -m gopkg release \
88+ --source=. \
89+ --dry-run=true \
90+ --token=env://GITHUB_TOKEN
91+
92+
93+
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments