diff --git a/.github/workflows/issue-sync.yml b/.github/workflows/issue-sync.yml deleted file mode 100644 index 013850677958cd8..000000000000000 --- a/.github/workflows/issue-sync.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Sync issues internally -on: - issues: - types: [opened] - workflow_dispatch: - inputs: - issue_number: - description: The issue to target - required: true -jobs: - internal-issue-sync: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version-file: "tools/go.mod" - - run: make tools - - name: Set the issue number to sync - run: | - if [ -n "${{ github.event.inputs.issue_number }}" ]; then - echo "issue_number=${{ github.event.inputs.issue_number }}" >> $GITHUB_ENV - else - echo "issue_number=${{ github.event.issue.number }}" >> $GITHUB_ENV - fi - - run: go run cmd/sync-github-issue-to-jira/main.go ${{ env.issue_number }} - working-directory: ./tools - env: - GITHUB_OWNER: cloudflare - GITHUB_REPO: cloudflare-docs - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - JIRA_HOSTNAME: ${{ secrets.JIRA_HOSTNAME }} - JIRA_AUTH_TOKEN: ${{ secrets.JIRA_AUTH_TOKEN }} - CF_ACCESS_CLIENT_ID: ${{ secrets.CF_ACCESS_CLIENT_ID }} - CF_ACCESS_CLIENT_SECRET: ${{ secrets.CF_ACCESS_CLIENT_SECRET }}