[ACS-5188] Remove old ACA upstream (#3193)

This commit is contained in:
MichalKinas
2023-05-16 18:06:22 +02:00
committed by GitHub
parent adbbc1c152
commit b04d0f226a
6 changed files with 0 additions and 388 deletions

View File

@@ -1,47 +0,0 @@
name: "ACA upstream"
on:
schedule:
- cron: "0 12 * * *"
workflow_dispatch:
inputs:
repo_to_update:
description: Repository to update
type: choice
required: true
options:
- alfresco-applications
- alfresco-apps
default: alfresco-applications
env:
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
GH_COMMIT: ${{ github.sha }}
GH_BUILD_NUMBER: ${{ github.run_id }}
NODE_OPTIONS: "--max-old-space-size=5120"
jobs:
trigger_aca_upstream:
name: Trigger ACA Upstream
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Configure Git Author
uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v1.35.0
with:
username: ${{ vars.BOT_GITHUB_USERNAME }}
email: ${{ vars.BOT_GITHUB_EMAIL }}
global: true
- name: Trigger Upstream
shell: bash
run: |
npm install github-api
./scripts/gh/update/update-project.sh -p $GH_BUILD_NUMBER -t $GH_TOKEN -v alpha -c $GH_COMMIT -r ${{ inputs.repo_to_update || 'alfresco-applications' }}