fix: default contributor bot PRs to staged (#1256)

* fix: default contributor bot PRs to staged

* fix(contributors-workflow): checkout staged when generating PR
This commit is contained in:
Satya K
2026-04-02 04:32:43 +05:30
committed by GitHub
parent eb5cff89fa
commit cf971d10f1

View File

@@ -17,6 +17,7 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: with:
fetch-depth: 0 fetch-depth: 0
ref: staged
- name: Extract Node version from package.json - name: Extract Node version from package.json
id: node-version id: node-version
@@ -74,6 +75,7 @@ jobs:
uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11 uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
base: staged
commit-message: "docs: update contributors" commit-message: "docs: update contributors"
title: "Update Contributors" title: "Update Contributors"
body: | body: |