Skip to content

Merge pull request #804 from jeffmaury/GH-802 #317

Merge pull request #804 from jeffmaury/GH-802

Merge pull request #804 from jeffmaury/GH-802 #317

name: Mirror Repository
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
jobs:
mirror-repository:
if: github.repository == 'containers/ai-lab-recipes'
runs-on: ubuntu-24.04
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: pixta-dev/[email protected]
with:
target_repo_url:
[email protected]:containers-mirror/ai-lab-recipes.git
ssh_private_key:
${{ secrets.SSH_PRIVATE_KEY }}
- name: Publish Job Results to Slack
id: slack
if: always()
uses: slackapi/[email protected]
with:
payload: |
{
"text": "${{ github.workflow }} workflow status: ${{ job.status }}\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}