Files
tryton/.gitea/workflows/sync-upstream.yml
T

42 lines
1020 B
YAML

name: Propose upstream Tryton updates
on:
schedule:
- cron: '35 */6 * * *'
workflow_dispatch:
permissions:
contents: write
pull-requests: write
issues: write
concurrency:
group: upstream-8.0-sync
cancel-in-progress: false
jobs:
propose-update:
runs-on: ubuntu-24.04
env:
GITEA_URL: https://code.unpaismejor.org.do
MIRROR_REPOSITORY: tryton-do/tryton-mirror
CUSTOM_REPOSITORY: tryton-do/tryton
TARGET_BRANCH: '8.0'
INTEGRATION_BRANCH: integration/8.0
UPDATE_BRANCH: automation/upstream-8.0
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
steps:
- name: Check out customized repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITEA_TOKEN }}
- name: Configure Git identity
run: |
git config user.name 'tryton-sync'
git config user.email 'tryton-sync@noreply.unpaismejor.org.do'
- name: Propose upstream update
run: ci/sync_upstream.sh