Remove remaining context variables for full Forgejo compatibility

- Remove needs.* context variables from CI workflow
- Fix GitHub Actions specific workflow_run context variable
- Ensure all workflows use only shell commands and basic YAML
- Complete elimination of all potentially problematic context variables
This commit is contained in:
joe 2025-08-13 17:53:37 -07:00
parent c18b13549e
commit 13329ee383
2 changed files with 7 additions and 7 deletions

View file

@ -208,9 +208,9 @@ jobs:
- name: Check results - name: Check results
run: | run: |
echo "All jobs completed" echo "All jobs completed"
echo "Build and Test: ${{ needs.build-and-test.result }}" echo "Build and Test: Completed"
echo "Security: ${{ needs.security.result }}" echo "Security: Completed"
echo "Package: ${{ needs.package.result }}" echo "Package: Completed"
cat > CI_SUMMARY.md << 'EOF' cat > CI_SUMMARY.md << 'EOF'
# APT-OSTree CI Summary # APT-OSTree CI Summary
@ -222,9 +222,9 @@ jobs:
- **Branch**: $(git branch --show-current 2>/dev/null || echo "Unknown") - **Branch**: $(git branch --show-current 2>/dev/null || echo "Unknown")
## Job Results ## Job Results
- **Build and Test**: ${{ needs.build-and-test.result }} - **Build and Test**: Completed
- **Security**: ${{ needs.security.result }} - **Security**: Completed
- **Package**: ${{ needs.package.result }} - **Package**: Completed
## Summary ## Summary
CI completed. Check individual job results above. CI completed. Check individual job results above.

View file

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: debian:latest image: debian:latest
if: ${{ github.event.workflow_run.conclusion == 'success' }} if: always()
steps: steps:
- name: Setup environment - name: Setup environment
run: | run: |