smarlhens / github-filter-npm-repos-to-empower

MIT License
2 stars 0 forks source link

trigger fork after filter events using github token #23

Closed smarlhens closed 1 year ago

smarlhens commented 1 year ago

jobs:
  fork-repo:
    runs-on: ubuntu-latest
    steps:
    - name: Fork repository
      run: |
        curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{ repository.owner }}/${{ repository.name }}/forks
smarlhens commented 1 year ago

3c3bc2a64927a830a4a5c02327ee96337f9aa859