Skip to content

Commit

Permalink
Update portCreateRepo.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hadar-co authored Oct 5, 2023
1 parent cafdeb5 commit 19e3007
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/portCreateRepo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ jobs:
- name: create repo
uses: octobay/create-repository-action@v1
with:
name: '${{ inputs.name }}'
org: '${{ github.repository_owner }}'
access-token: '${{ secrets.ORG_ADMIN_TOKEN }}'
name: ${{ inputs.name }}
org: ${{ github.repository_owner }}
access-token: ${{ secrets.ORG_ADMIN_TOKEN }}
private-repo: true
initalize-repo: true
#- name: Create Repository
# - name: Create Repository
# env:
# GH_TOKEN: ${{ secrets.ORG_ADMIN_TOKEN }} # Replace with your secret's name
#run: |
# run: |
# Create a repository using the GitHub REST API
# org_name="port-samples"
#repo_name="${{ inputs.name }}"
#curl -X POST -H "Authorization: token $GH_TOKEN" "https://api.github.com/orgs/$org_name/repos" -d "{\"name\":\"$repo_name\",\"private\":false}"
# repo_name="${{ inputs.name }}"
# curl -X POST -H "Authorization: token $GH_TOKEN" "https://api.github.com/orgs/$org_name/repos" -d "{\"name\":\"$repo_name\",\"private\":false}"

0 comments on commit 19e3007

Please sign in to comment.