Speicyf cran check #69
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: Automatic release to R-Universe | |
on: | |
push: | |
branches: | |
- main # Trigger the workflow when changes are pushed to the 'main' branch | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
create_pull_request: | |
runs-on: ubuntu-24.04 | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: universe-release | |
- name: Reset promotion branch | |
run: | | |
git fetch origin main:main | |
git reset --hard main | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
branch: update-universe-release | |
commit-message: update universe release | |
title: Update R-Universe release | |
body: This PR is automatically created and pushes recent additions from the main branch to the r-universe release branch. |