Added Nix build files for bleeding-edge NixOS #17
Workflow file for this run
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
# | |
# This workflow catches PRs made to 'release' and rebases them onto 'develop' | |
# | |
name: rebase-pr | |
on: | |
pull_request: | |
types: [opened] | |
branches: | |
- release | |
jobs: | |
rebase-pr: | |
name: Rebase pull request | |
runs-on: ubuntu-latest | |
steps: | |
- name: Perform rebase | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
github.rest.pulls.update({ | |
pull_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
base: "develop" | |
}); | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: "Thanks for your contribution! We don't accept pull requests to the `release` branch. I have rebased your pull request onto `develop`, check for any conflicts." | |
}); |