diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 377bb5a922..91c0e6a9e6 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -41,6 +41,9 @@ jobs: go-version: ${{ env.GO_VERSION }} cache: false + - name: Clear Go module cache + run: go clean -modcache + - name: Update vault dependency env: GOPRIVATE: "" @@ -90,6 +93,9 @@ jobs: go-version: ${{ env.GO_VERSION }} cache: false + - name: Clear Go module cache + run: go clean -modcache + - name: Update vault dependency env: GOPRIVATE: "" @@ -147,6 +153,9 @@ jobs: go-version: ${{ env.GO_VERSION }} cache: false + - name: Clear Go module cache + run: go clean -modcache + - name: Update vault dependency env: GOPRIVATE: "" @@ -336,6 +345,9 @@ jobs: go-version: ${{ env.GO_VERSION }} cache: false + - name: Clear Go module cache + run: go clean -modcache + - name: Update vault dependency (Unix) if: matrix.goos != 'windows' env: diff --git a/web_src/js/features/repo-actions.ts b/web_src/js/features/repo-actions.ts index 8d93fce53f..96d4c9a217 100644 --- a/web_src/js/features/repo-actions.ts +++ b/web_src/js/features/repo-actions.ts @@ -14,9 +14,12 @@ export function initRepositoryActionView() { runIndex: el.getAttribute('data-run-index'), jobIndex: el.getAttribute('data-job-index'), actionsURL: el.getAttribute('data-actions-url'), + runnersUrl: el.getAttribute('data-runners-url'), + canAdmin: el.getAttribute('data-can-admin') === 'true', locale: { approve: el.getAttribute('data-locale-approve'), cancel: el.getAttribute('data-locale-cancel'), + manageRunners: el.getAttribute('data-locale-manage-runners'), rerun: el.getAttribute('data-locale-rerun'), rerun_all: el.getAttribute('data-locale-rerun-all'), scheduled: el.getAttribute('data-locale-runs-scheduled'),