Skip to content

Commit 569072c

Browse files
Add a temporary workflow to test signed pushes on Python 3.12.
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3ba8846 commit 569072c

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Scratch - test signed push
2+
3+
on:
4+
push:
5+
branches:
6+
- robertomonteromiguel/scratch-signed-push-py312
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
signed-push:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Prepare target branch and dummy commit
20+
run: |
21+
git config user.name 'scratch-bot'
22+
git config user.email 'scratch-bot@users.noreply.github.com'
23+
git fetch origin main
24+
git checkout -B scratch/signed-push-target origin/main
25+
git push -u origin scratch/signed-push-target
26+
date -u > scratch-signed-push.txt
27+
git add scratch-signed-push.txt
28+
git commit -m "Scratch signed push test"
29+
30+
- name: Push signed commits
31+
uses: Asana/push-signed-commits@418a702ed822d75f534f2913c5b60e4e5242dd57
32+
with:
33+
github-token: ${{ secrets.GITHUB_TOKEN }}
34+
repo: DataDog/system-tests
35+
local_branch_name: scratch/signed-push-target
36+
remote_name: origin
37+
remote_branch_name: scratch/signed-push-target
38+
python-version: "3.12"

0 commit comments

Comments
 (0)