Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Actions

GitHub actions for ropensci-review-tools workflows.

ping-dev-team

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:

push-to-elsewhere

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.git

On 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).

About

GitHub actions for ropensci-review-tools

Resources

Code of conduct

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors