Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upscale resource #98

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
## Summary
<!--- Add some bells and whistles for PR template. --->

### Why
<!--- Clearly define the issue or problem that your changes address.
Describe what is currently not working as expected or what feature is missing. --->

### What
<!--- Provide a high-level overview of what has been modified, added, or removed in the codebase.
This could include new features, bug fixes, refactoring efforts, or performance optimizations. --->

### Solution
<!--- Describe the architectural or design decisions you made while implementing the changes.
Explain the thought process behind your approach and how it aligns with best practices or existing patterns in the codebase. --->

## Types of Changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply --->

- [ ] ❌ Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] 🚀 New feature (non-breaking change which adds functionality)
- [ ] 🕷 Bug fix (non-breaking change which fixes an issue)
- [ ] 👏 Performance optimization (non-breaking change which addresses a performance issue)
- [ ] 🛠 Refactor (non-breaking change which does not change existing behavior or add new functionality)
- [ ] 📗 Library update (non-breaking change that will update one or more libraries to newer versions)
- [ ] 📝 Documentation (non-breaking change that doesn't change code behavior, can skip testing)
- [ ] ✅ Test (non-breaking change related to testing)
- [ ] 🔒 Security awareness (changes that effect permission scope, security scenarios)

## Database and Logic Impact
<!--- Specify if this PR requires migrations or contains logic changes that could impact existing data -->

- [ ] This update includes DB typing or schema updates that would require a potential DB Migration
- [ ] This update includes logical updates such as changing optional typing to strict typing of core functionality of the SmartSheet/Columns/Enrichments that would require changes fro the User of the product.
- For example, if the user has to re-create a column. This is a breaking change.

## Test Plan
<!--- Please input steps on how to test this PR, including evidence in the form of captured images or videos. If this is not necessary, provide the reason why. --->

- Test scope:
<!--- Apply for which cases --->
- Test steps:
1.
2.
- Test scenarios:
- [ ] Verify that users are able to
- [ ] Verify that users are able to
- [ ] Verify that users are able to
- Environment Testing:
<!--- local/dev/aut, using Chrome/Safari --->

### Evidence
<!--- the form of captured images or videos --->

## Related Issues
<!--- Add a reference section for management tickets, and relevant conversations. --->
39 changes: 39 additions & 0 deletions .github/workflows/auto-generate-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Auto Generate Release
run-name: Automatically generate a new release on GitHub

permissions:
contents: read

on:
push:
tags:
- v[0-9]+.[0-9]+.*

jobs:
create-release:
if: github.repository_owner == 'c0x12c'
runs-on: ubuntu-latest
timeout-minutes: 60
permissions:
contents: write

steps:
- name: Create GitHub App Token
uses: actions/create-github-app-token@v1
id: github-app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}

- name: Checkout source
uses: actions/checkout@v4
with:
token: ${{ steps.github-app-token.outputs.token }}
ref: ${{ github.head_ref }}

- uses: taiki-e/create-gh-release-action@v1
if: ${{ success() }}
with:
title: $version
branch: 'master|v[0-9]+'
token: ${{ steps.github-app-token.outputs.token }}
45 changes: 45 additions & 0 deletions .github/workflows/create-major-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Create Major Tag

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: 'read'
id-token: 'write'

steps:
- name: Create GitHub App Token
uses: actions/create-github-app-token@v1
id: github-app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}

- name: Checkout source
uses: actions/checkout@v4
with:
token: ${{ steps.github-app-token.outputs.token }}
ref: ${{ github.head_ref }}

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install dependencies
run: |
pip install tomlkit

- name: Bump version
run: |
git config --global --add safe.directory /harness
git config --global user.email "[email protected]"
git config --global user.name "github-actions"

./tools/create_release.sh major
env:
GITHUB_TOKEN: ${{ steps.github-app-token.outputs.token }}
45 changes: 45 additions & 0 deletions .github/workflows/create-minor-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Create Minor Tag

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: 'read'
id-token: 'write'

steps:
- name: Create GitHub App Token
uses: actions/create-github-app-token@v1
id: github-app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}

- name: Checkout source
uses: actions/checkout@v4
with:
token: ${{ steps.github-app-token.outputs.token }}
ref: ${{ github.head_ref }}

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install dependencies
run: |
pip install tomlkit

- name: Bump version
run: |
git config --global --add safe.directory /harness
git config --global user.email "[email protected]"
git config --global user.name "github-actions"

./tools/create_release.sh minor
env:
GITHUB_TOKEN: ${{ steps.github-app-token.outputs.token }}
45 changes: 45 additions & 0 deletions .github/workflows/create-patch-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Create Patch Tag

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: 'read'
id-token: 'write'

steps:
- name: Create GitHub App Token
uses: actions/create-github-app-token@v1
id: github-app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}

- name: Checkout source
uses: actions/checkout@v4
with:
token: ${{ steps.github-app-token.outputs.token }}
ref: ${{ github.head_ref }}

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install dependencies
run: |
pip install tomlkit

- name: Bump version
run: |
git config --global --add safe.directory /harness
git config --global user.email "[email protected]"
git config --global user.name "github-actions"

./tools/create_release.sh patch
env:
GITHUB_TOKEN: ${{ steps.github-app-token.outputs.token }}
Loading