1
0
Fork 0
forked from forgejo/forgejo

Fix checks for needs in Actions (#23789)

Fix:
- https://gitea.com/gitea/act_runner/issues/77
- https://gitea.com/gitea/act_runner/issues/81

Before:
<img width="1489" alt="image"
src="https://user-images.githubusercontent.com/9418365/228501567-f752cf87-a7ed-42c6-8f3d-ba741795c1fe.png">

Highlights:
- Upgrade act to make things doable, related to
  - https://gitea.com/gitea/act/pulls/32
  - https://gitea.com/gitea/act/pulls/33
  - https://gitea.com/gitea/act/pulls/35
- Make `needs` works
- Sort jobs in the original order in the workflow files
This commit is contained in:
Jason Song 2023-03-30 22:33:17 +08:00 committed by GitHub
parent aa4d1d94f7
commit 964a057a76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 21 deletions

View file

@ -1,7 +1,7 @@
<template>
<div class="action-view-container">
<div class="action-view-header">
<div class="action-info-summary">
<div class="action-info-summary gt-ac">
<ActionRunStatus :status="run.status" :size="20"/>
<div class="action-title">
{{ run.title }}
@ -30,7 +30,7 @@
<div class="job-brief-item" v-for="(job, index) in run.jobs" :key="job.id">
<a class="job-brief-link" :href="run.link+'/jobs/'+index">
<ActionRunStatus :status="job.status"/>
<span class="ui text">{{ job.name }}</span>
<span class="ui text gt-mx-3">{{ job.name }}</span>
</a>
<button class="job-brief-rerun" @click="rerunJob(index)" v-if="job.canRerun">
<SvgIcon name="octicon-sync" class="ui text black"/>
@ -404,7 +404,6 @@ export function initRepositoryActionView() {
}
.job-group-section .job-brief-list .job-brief-item .job-brief-link span {
margin-right: 8px;
display: flex;
align-items: center;
}