Forgejo Actions #5

Merged
pazpi merged 14 commits from forgejo-actions into master 2025-12-07 23:24:30 +01:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit d59ce13442 - Show all commits

View file

@ -14,7 +14,7 @@ jobs:
hosts: ${{ steps.hosts.outputs.hosts }}
steps:
- name: Checkout repository
uses: forgejo/checkout@v4
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -61,7 +61,7 @@ jobs:
host: ${{ fromJson(needs.check-updates.outputs.hosts) }}
steps:
- name: Checkout repository
uses: forgejo/checkout@v4
uses: actions/checkout@v4
- name: Download updated flake.lock
uses: forgejo/download-artifact@v4
@ -77,7 +77,7 @@ jobs:
- name: Upload build log on failure
if: failure() || steps.build.outcome == 'failure'
uses: forgejo/upload-artifact
uses: forgejo/upload-artifact@v4
with:
name: build-failure-${{ matrix.host }}
path: build-output.txt
@ -96,7 +96,7 @@ jobs:
runs-on: nix
steps:
- name: Checkout repository
uses: forgejo/checkout@v4
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -177,7 +177,7 @@ jobs:
FAILED_HOSTS="\n- (Unable to determine failed hosts - check workflow logs)"
fi
ISSUE_BODY="Weekly flake update failed to build some hosts.\n\n**Branch:** \`${{ steps.branch.outputs.branch_name }}\`\n**Run:** ${{ github.server_url }}/${{ github.repository }}/forgejo/runs/${{ github.run_id }}\n\n**Failed hosts:**$FAILED_HOSTS\n$FAILURE_DETAILS\n\nGenerated on: $(date -Iseconds)"
ISSUE_BODY="Weekly flake update failed to build some hosts.\n\n**Branch:** \`${{ steps.branch.outputs.branch_name }}\`\n**Run:** ${{ forge.server_url }}/${{ forge.repository }}/actions/runs/${{ forge.run_id }}\n\n**Failed hosts:**$FAILED_HOSTS\n$FAILURE_DETAILS\n\nGenerated on: $(date -Iseconds)"
curl -X POST \
-H "Authorization: token $FORGEJO_TOKEN" \

View file

@ -88,7 +88,7 @@ in
};
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "github";
DEFAULT_ACTIONS_URL = "https://code.forgejo.org";
ARTIFACT_RETENTION_DAYS = 90;
};
} cfg.settings;