diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index efee2c4..fedbd21 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -2,7 +2,7 @@ name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: push: - + branches: [main] pull_request: branches: [main] workflow_dispatch: @@ -38,20 +38,6 @@ jobs: run: echo "${{ github.event.commits[0].author.email }}" - name: head_commit author email run: echo "${{ github.event.head_commit.author.email }}" - - name: user email - run: echo "${{ github.event.user.email}}" - - name: pr commits[0] email - run: echo "${{ github.event.pull_request.commits[0].author.email}}" - - name: pr head_commit email - run: echo "${{ github.event.pull_request.head.user.email}}" - - name: pr user email - run: echo "${{ github.event.pull_request.user.email}}" - - name: pr user login - run: echo "${{ github.event.pull_request.user.email}}" - - name: pr author email - run: echo "${{ github.event.pull_request.author.email}}" - - name: head user login - run: echo "${{ github.event.head.user.login }}" - name: event sender run: echo "${{ github.event.sender.email }}" - name: script email