Skip to content

Commit 8b21b98

Browse files
updated workflowfile
1 parent 4113908 commit 8b21b98

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/create_repository.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,17 +223,19 @@ env:
223223
HAS_WIKI: ${{ github.event.inputs.has_wiki }}
224224
GITIGNORE_TEMPLATE: ${{ github.event.inputs.gitignore_template }}
225225
LICENSE_TEMPLATE: ${{ github.event.inputs.license_template }}
226-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub token provided by secrets.GITHUB_TOKEN
226+
227227

228228
jobs:
229229
github-repository-creation-using-github-workflow:
230230
runs-on: ubuntu-latest
231-
steps:
231+
steps:
232232
- name: Checkout code
233233
uses: actions/checkout@v4
234234
- name: Listing the files
235235
run: ls -la
236236
- name: Execute the program
237+
env:
238+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
237239
run: |
238240
bash create_repository_in_github.sh ${{ inputs.organization }} ${{ inputs.repository_name }} ${{ inputs.repository_description }} ${{ inputs.private }} ${{ inputs.visibility }} ${{ inputs.has_issues}} ${{ inputs.has_projects }} ${{ inputs.has_wiki}} ${{ inputs.gitignore_template}} ${{ inputs.license_template}}
239241

0 commit comments

Comments
 (0)