-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
Description
Hello there!
A few days ago, i started a personal project with github actions (because it's cool). After that, i wanted create a little post deploy routine (staging->master, master->develop, develop->staging), and i found this cool repo to do the job. But, i dont know if i use it correctly, because the env variable GITHUB_SHA dont be overwrited inside the container. I triying this snipet:
---
jobs:
sync:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
ref: master
- name: Sync
uses: devmasx/merge-branch@v1.1.0
with:
type: now
target_branch: 'my_target_branch'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_SHA: 'my_head_branch'
I've tried with other custom env variables. and they are overwrited. Is it possible to create an optional new input heads_branch
?
If you wish, i can help you :)
Metadata
Metadata
Assignees
Labels
No labels