diff --git a/.github/workflows/my-workflow.yml b/.github/workflows/my-workflow.yml index 9dbcea3..f10410f 100644 --- a/.github/workflows/my-workflow.yml +++ b/.github/workflows/my-workflow.yml @@ -1,26 +1,5 @@ name: Learning GitHub Script -on: - issues: - types: [opened] - -jobs: - comment: - runs-on: ubuntu-latest - steps: - - uses: actions/github-script@0.8.0 - with: - github-token: ${{secrets.GITHUB_TOKEN}} - script: | - github.issues.createComment({ - issue_number: context.issue.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: "🎉 You've created this issue comment using GitHub Script!!!" - }) - -name: Learning GitHub Script - on: issues: types: [opened]