mirror of
https://github.com/yairm210/Unciv.git
synced 2025-08-01 23:59:28 +07:00
ALL TOGETHER NOW
This commit is contained in:
31
.github/workflows/uncivbot.yml
vendored
31
.github/workflows/uncivbot.yml
vendored
@ -40,18 +40,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
# - name: Merge Pull Request
|
||||
# uses: "actions/github-script@v5"
|
||||
# with:
|
||||
# github-token: ${{ secrets.ACTIONS_ACCESS_TOKEN }}
|
||||
# script: |
|
||||
# const repository = context.repo
|
||||
# await github.rest.pulls.merge({
|
||||
# merge_method: "squash",
|
||||
# owner: repository.owner,
|
||||
# pull_number: ${{ github.event.issue.number }},
|
||||
# repo: repository.repo,
|
||||
# })
|
||||
- name: Merge Pull Request
|
||||
uses: "actions/github-script@v5"
|
||||
with:
|
||||
github-token: ${{ secrets.ACTIONS_ACCESS_TOKEN }}
|
||||
script: |
|
||||
const repository = context.repo
|
||||
await github.rest.pulls.merge({
|
||||
merge_method: "squash",
|
||||
owner: repository.owner,
|
||||
pull_number: ${{ github.event.issue.number }},
|
||||
repo: repository.repo,
|
||||
})
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with: # Required for triggering the deploy on tags added by this automation
|
||||
@ -65,13 +65,6 @@ jobs:
|
||||
export version=$(node .github/workflows/releasePatch.js)
|
||||
echo "VERSION=$version" >> "$GITHUB_ENV"
|
||||
|
||||
# git config user.name "GitHub Actions - autopatch"
|
||||
# git config user.email "<>"
|
||||
# git add .
|
||||
# git commit -m "$version"
|
||||
# git tag $version
|
||||
# git push origin --tags
|
||||
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_message: ${{env.VERSION}}
|
||||
|
Reference in New Issue
Block a user