name: 'release'
on: # rebuild any PRs and main branch changes
  release:
    types: [created]
permissions:
  id-token: write
  contents: write
  packages: write
jobs:
  package-and-publish: 
    runs-on: ubuntu-latest
    steps:
      - name: Checking out!
        uses: actions/checkout@v4
      - name: Publish action package
        uses: ./
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
