Merge pull request #790 from thepetk/ft/add_bearer_auth_support #310
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/checkout@v4.1.7 | |
with: | |
fetch-depth: 0 | |
- uses: pixta-dev/repository-mirroring-action@v1.1.1 | |
with: | |
target_repo_url: | |
git@github.com: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/slack-github-action@v1.26.0 | |
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 }} |