mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-5188] Remove old ACA upstream (#3193)
This commit is contained in:
47
.github/workflows/aca-upstream.yml
vendored
47
.github/workflows/aca-upstream.yml
vendored
@@ -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' }}
|
Reference in New Issue
Block a user