-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Labels
Description
Description
Action status check is not updated on the pull_request synchronize event.
# .gitea/workflows/build.yaml
name: Gitea Actions Demo
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on:
pull_request: yes
push:
branches:
- main
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-20.04
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
I create a PR #3
from dev
to main
, and the status check is enabled. When I push a commit 1703af8060
to dev
, action is triggered. But the status check on the PR page is not updated.
Gitea Version
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
build Gitea myself
run from command-line
Database
SQLite
Activity
wolfogre commentedon Mar 24, 2023
Should be fixed by #23613, so I believe we will have it on v1.19.1Yiklek commentedon Mar 24, 2023
@wolfogre My build is newer than #23613

wolfogre commentedon Mar 24, 2023
@Zettat123 Could you please take a look at it?
Zettat123 commentedon Mar 24, 2023
@Yiklek Could you please change
to
and test again?
Yiklek commentedon Mar 24, 2023
@Zettat123 It doesn't work on the pull_request synchronize event yet. The status check is only updated on PR opened.
yp05327 commentedon Mar 24, 2023
Maybe the reason is that PR's branch is from the same repo.Zettat123 commentedon Mar 24, 2023
I think not. In my test,pull_request_sync
event can be triggerd by a PR from the same repo.Maybe my test is incorrect. I'll test again later.
yp05327 commentedon Mar 24, 2023
I can reproduce this in gitea.com and PR's repo is not related
https://gitea.com/yp05327/testrepo/pulls/1
https://gitea.com/yp05327/testrepo/pulls/2
7 remaining items