fix: "Mailbox Create" operation used incorrect input parameters resul… #4
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: Fast-forward beta to master | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write # Даем права на запись в репозиторий | |
jobs: | |
fast-forward: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master branch | |
uses: actions/checkout@v3 | |
with: | |
ref: master | |
fetch-depth: 0 # Fetch all history for correct merge operations | |
- name: Fetch beta branch | |
run: git fetch origin beta | |
- name: Try fast-forward beta to master | |
run: | | |
git checkout beta | |
if git merge --ff-only master; then | |
echo "Fast-forward successful. Pushing changes to beta." | |
git push origin beta | |
else | |
echo "Fast-forward not possible. No changes pushed." | |
fi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |