forked from calcom/cal.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,313 changed files
with
147,950 additions
and
42,668 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This is just to test this file | ||
name: Build | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
name: Build Docs | ||
permissions: | ||
contents: read | ||
runs-on: buildjet-2vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/dangerous-git-checkout | ||
- name: Cache Docs build | ||
uses: buildjet/cache@v4 | ||
id: cache-docs-build | ||
env: | ||
cache-name: docs-build | ||
key-1: ${{ hashFiles('yarn.lock') }} | ||
key-2: ${{ hashFiles('docs/**.*', '!**/node_modules') }} | ||
key-3: ${{ github.event.pull_request.number || github.ref }} | ||
key-4: ${{ github.sha }} | ||
with: | ||
path: | | ||
**/docs/** | ||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ env.key-3 }}-${{ env.key-4 }} | ||
# Log cache hit | ||
- name: Log Cache Hit | ||
if: steps.cache-docs-build.outputs.cache-hit == 'true' | ||
run: echo "Cache hit for Docs build. Skipping build." | ||
- name: Run build | ||
if: steps.cache-docs-build.outputs.cache-hit != 'true' | ||
working-directory: docs | ||
run: | | ||
export NODE_OPTIONS="--max_old_space_size=8192" | ||
npm install -g mintlify | ||
mintlify dev & | ||
sleep 5 # Let it run for 5 seconds | ||
kill $! | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Draft release | ||
run-name: Draft release ${{ inputs.next_version }} | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
next_version: | ||
required: true | ||
type: string | ||
description: 'Version name' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
draft_release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
ref: 'main' | ||
token: ${{ secrets.GH_ACCESS_TOKEN }} | ||
|
||
- name: Configure git | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Actions" | ||
- uses: ./.github/actions/yarn-install | ||
|
||
- name: Bump version | ||
run: | | ||
cd apps/web | ||
yarn version ${{ inputs.next_version }} | ||
- name: Commit changes | ||
run: | | ||
git add . | ||
git commit -m "chore: release v${{ inputs.next_version }}" | ||
git push | ||
- name: Draft release | ||
run: gh release create v$VERSION --generate-notes --draft | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
VERSION: ${{ inputs.next_version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Changes Requested | ||
on: | ||
pull_request_review: | ||
types: [submitted] | ||
|
||
jobs: | ||
changes-requested: | ||
if: github.event.review.state == 'changes_requested' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Explanation | ||
run: echo "This workflow triggers a workflow_run; it's necessary because otherwise the repo secrets aren't available for 'pull_request_review' events from externally forked pull requests" | ||
- name: Save PR number to context.json | ||
run: | | ||
printf '{ | ||
"pr_number": ${{ github.event.pull_request.number }} | ||
}' >> context.json | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: context.json | ||
path: ./ |
Oops, something went wrong.