GitHub actions for ropensci-review-tools workflows.
Workflow to ping the rOpenSci Dev Team on any workflow failures. Team members are taken from https://github.com/orgs/ropensci/teams/dev-guide, but those members are unable to read using default workflow tokens, so hard-coded here. This action is currently triggered on workflow failures in:
Composite action to mirror a branch (with tags) to non-GitHub remotes. Mirrors are passed by the caller, so none are hard-coded here:
name: push-to-elsewhere
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: push-to-elsewhere
cancel-in-progress: false
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- uses: ropensci-review-tools/actions/push-to-elsewhere@main
with:
branch: main
mirrors: |
codeberg=https://${{ secrets.UNAME }}:${{ secrets.CODEBERG }}@codeberg.org/ropensci-review-tools/srr.git
codefloe=https://${{ secrets.UNAME }}:${{ secrets.CODEFLOE }}@codefloe.com/ropensci-review-tools/srr.gitOn pull requests the step completes as a no-op so a required check reads
green rather than skipped; mirroring only happens on pushes to main
(override with the branch input).