Skip to content

Commit c3882d5

Browse files
authored
Merge pull request #4727 from DataDog/tonycthsu/signed-commit
Signed commit for automation
2 parents cc5d0e8 + 901eaa8 commit c3882d5

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

.github/workflows/generate-supported-versions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
labels: dev/internal, integrations
4747
commit-message: "Test creating supported versions"
4848
delete-branch: true
49+
sign-commits: true
4950
body: |
5051
This is a PR to update the table for supported integration versions.
5152
The supported versions markdown is generated from the minimum and maximum tested versions of each integration,

.github/workflows/lock-dependency.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Lock Dependencies
22

3-
# TODO: Make this job mandatory
4-
# TODO: Make this on workflow_dispatch
5-
63
on: # yamllint disable-line rule:truthy
74
pull_request:
85
branches:
@@ -18,7 +15,7 @@ permissions: {}
1815
jobs:
1916
dependency:
2017
name: Dependency changes
21-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-24.04
2219
outputs:
2320
changes: ${{ steps.changes.outputs.dependencies }}
2421
steps:
@@ -31,7 +28,7 @@ jobs:
3128
filters: .github/dependency_filters.yml
3229

3330
lock:
34-
runs-on: ubuntu-22.04
31+
runs-on: ubuntu-24.04
3532
needs: dependency
3633
if: ${{ needs.dependency.outputs.changes == 'true' }}
3734
strategy:
@@ -82,12 +79,10 @@ jobs:
8279
path: gemfiles/${{ matrix.engine.name }}_${{ matrix.engine.version }}*
8380
retention-days: 1
8481

85-
# TODO: Change token to trigger workflow automation
86-
# > New commit by GITHUB_TOKEN does not trigger workflow automation to prevent infinite loop
8782
commit:
8883
name: Commit changes
8984
needs: lock
90-
runs-on: ubuntu-22.04
85+
runs-on: ubuntu-24.04
9186
steps:
9287
- name: Generate GitHub App Token
9388
id: generate-token
@@ -104,10 +99,16 @@ jobs:
10499
path: gemfiles
105100
pattern: lock-dependency-${{ github.run_id }}-*
106101
merge-multiple: true
107-
- uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
102+
- run: git diff --color=always
103+
- name: Commit changes
104+
uses: planetscale/ghcommit-action@6a383e778f6620afde4bf4b45069d3c6983c1ae2 # v0.2.15
108105
with:
106+
repo: ${{ github.repository }}
107+
branch: ${{ github.head_ref }}
109108
file_pattern: 'gemfiles/*'
110109
commit_message: "[🤖] Lock Dependency: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
110+
env:
111+
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
111112

112113
complete:
113114
name: Lock Dependencies (complete)

.github/workflows/update-latest-dependency.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Checkout code
7070
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7171
with:
72-
persist-credentials: true # required for `git` operations (commit & push) at later steps
72+
persist-credentials: false
7373

7474
- name: Download artifacts for all runtimes
7575
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
@@ -96,6 +96,7 @@ jobs:
9696
labels: dev/internal, integrations
9797
commit-message: "[🤖] Update Latest Dependency: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
9898
delete-branch: true
99+
sign-commits: true
99100
body: |
100101
_This is an auto-generated PR from [here](https://github.com/DataDog/dd-trace-rb/blob/master/.github/workflows/update-latest-dependency.yml), which creates a pull request that will be continually updated with new changes until it is merged or closed)_
101102

.github/workflows/update-system-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ jobs:
7070
branch: auto-generate/update-system-tests
7171
title: '[🤖] Update System Tests'
7272
base: master
73-
sign-commits: true
7473
labels: dev/internal
7574
commit-message: "[🤖] Update System Tests: ${{github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
7675
delete-branch: true
76+
sign-commits: true
7777
add-paths: |
7878
.github/
7979
body: |

0 commit comments

Comments
 (0)