Compare commits
1 Commits
dev
...
bug/43193-
Author | SHA1 | Date |
---|---|---|
Andreas Pfohl | bd3fd0c32c | 2 years ago |
@ -1,8 +0,0 @@ |
||||
# docs rules |
||||
/docs/ @opf/doc-writers |
||||
|
||||
# Tech doc rules |
||||
/docs/development @opf/tech-writers |
||||
/docs/installation-and-operations @opf/tech-writers |
||||
/docs/system-admin-guide @opf/tech-writers |
||||
/docs/api @opf/tech-writers |
@ -1,26 +0,0 @@ |
||||
name: cd-storybook |
||||
on: |
||||
push: |
||||
branches: |
||||
- dev |
||||
|
||||
permissions: |
||||
contents: read |
||||
|
||||
jobs: |
||||
trigger_design_system_workflow: |
||||
permissions: |
||||
contents: none |
||||
if: github.repository == 'opf/openproject' |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- name: Trigger downstream workflow |
||||
env: |
||||
TOKEN: ${{ secrets.OPENPROJECT_CI_TOKEN }} |
||||
DS_CD_WORKFLOW_ID: build-docs.yml |
||||
DS_REPOSITORY: opf/design-system |
||||
run: | |
||||
curl -i --fail -H"authorization: Bearer $TOKEN" \ |
||||
-XPOST -H"Accept: application/vnd.github.v3+json" \ |
||||
https://api.github.com/repos/$DS_REPOSITORY/actions/workflows/$DS_CD_WORKFLOW_ID/dispatches \ |
||||
-d '{ "ref": "dev", "inputs": { "ref": "${{ github.ref }}" }}' |
@ -1,45 +0,0 @@ |
||||
name: create-merge-release-into-dev-pr |
||||
on: |
||||
workflow_dispatch: |
||||
|
||||
permissions: {} |
||||
jobs: |
||||
setup: |
||||
runs-on: ubuntu-latest |
||||
outputs: |
||||
latest_release_branch: ${{ steps.find_latest_release.outputs.branch }} |
||||
steps: |
||||
- id: find_latest_release |
||||
env: |
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
||||
GITHUB_REPOSITORY: ${{ github.repository }} |
||||
run: | |
||||
BRANCH=$(curl -H "Authorization: token $GITHUB_TOKEN" \ |
||||
https://api.github.com/repos/$GITHUB_REPOSITORY/branches?protected=true | \ |
||||
jq -r .[].name | grep "release/" | sort --reverse | head -1 |
||||
) |
||||
if [ "$BRANCH" = "" ]; then |
||||
echo "Invalid release branch found: $BRANCH" |
||||
exit 1 |
||||
fi |
||||
|
||||
echo "branch=${BRANCH}" >> $GITHUB_OUTPUT |
||||
|
||||
crowdin: |
||||
permissions: |
||||
contents: write # for git push |
||||
|
||||
runs-on: ubuntu-latest |
||||
needs: setup |
||||
timeout-minutes: 5 |
||||
steps: |
||||
- name: create pull request |
||||
run: gh pr create \ |
||||
--base $BASE_BRANCH \ |
||||
--head $RELEASE_BRANCH \ |
||||
--title "Merge $RELEASE_BRANCH into $BASE_BRANCH" \ |
||||
--body 'Created by GitHub action' |
||||
env: |
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
||||
BASE_BRANCH: dev |
||||
RELEASE_BRANCH: ${{ needs.setup.outputs.latest_release_branch }} |
@ -1 +1 @@ |
||||
3.2.0 |
||||
3.1.2 |
||||
|
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 185 KiB After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 2.7 KiB |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue