Skip to content

Commit b62dd5d

Browse files
authored
Update Git AI actions to use main branch
1 parent faa016f commit b62dd5d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/example.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323

2424
steps:
2525
- name: Run Git AI PR Close
26-
uses: git-ai-project/action/pr-close@v1
26+
# You want @v1
27+
# uses: git-ai-project/action/pr-close@v1
28+
uses: git-ai-project/action/pr-close@main
2729
continue-on-error: true
2830
with:
2931
pr-url: ${{ github.event.pull_request.html_url }}
@@ -41,7 +43,9 @@ jobs:
4143

4244
steps:
4345
- name: Run Git AI Daily Metrics
44-
uses: git-ai-project/action/daily-metrics@v1
46+
# You want @v1
47+
# uses: git-ai-project/action/daily-metrics@v1
48+
uses: git-ai-project/action/daily-metrics@main
4549
with:
4650
git-ai-version: "v1.0.23" # Pin to a specific version for reproducibility
4751
default-branch: ${{ github.event.repository.default_branch }}

0 commit comments

Comments
 (0)