Skip to content

Commit 4e13318

Browse files
committed
remove base and set ref to main create test PR
1 parent 3f8aa6a commit 4e13318

1 file changed

Lines changed: 24 additions & 17 deletions

File tree

.github/workflows/update-dependencies.yml

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,38 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
20+
with:
21+
ref: main
2022

21-
- name: build dependency updater
22-
run: cd dependency_updater && go build
23+
- name: make test pr
24+
run: echo "this is a test PR" >> test-pr.txt
2325

24-
- name: run dependency updater
25-
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27-
run: cd dependency_updater && ./dependency_updater --repo ../ --commit true
26+
# - name: build dependency updater
27+
# run: cd dependency_updater && go build
2828

29-
- name: Load .env file
30-
uses: aarcangeli/load-dotenv@v1.1.0
31-
with:
32-
filenames: 'commit_message.env'
29+
# - name: run dependency updater
30+
# env:
31+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
# run: cd dependency_updater && ./dependency_updater --repo ../ --commit true
33+
34+
# - name: Load .env file
35+
# uses: aarcangeli/load-dotenv@v1.1.0
36+
# with:
37+
# filenames: 'commit_message.env'
3338

34-
- name: view env
35-
run: echo ${{ env.TITLE }}
39+
# - name: view env
40+
# run: echo ${{ env.TITLE }}
3641

3742
- name: create pull request
3843
uses: peter-evans/create-pull-request@v7.0.8
3944
with:
4045
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
4146
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
42-
title: ${{ env.TITLE }}
43-
commit-message: ${{ env.TITLE }}
44-
body: ${{ env.DESC }}
47+
# title: ${{ env.TITLE }}
48+
# commit-message: ${{ env.TITLE }}
49+
# body: ${{ env.DESC }}
50+
title: "Test PR"
51+
commit-message: This is a test PR
52+
body: This is a test PR
4553
branch: run-dependency-updater
46-
delete-branch: true
47-
base:
54+
delete-branch: true

0 commit comments

Comments
 (0)