Skip to content

Commit

Permalink
Add TODO to supported language
Browse files Browse the repository at this point in the history
  • Loading branch information
shobhitagarwal1612 committed Dec 16, 2024
1 parent 3bb12e6 commit 7b11aee
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
51 changes: 25 additions & 26 deletions .github/workflows/todo-to-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,33 @@

name: "Run TODO to Issue"
on:
pull_request:
branches: [ "master" ]
# TODO: Replace with push to master
pull_request:
branches: [ "master" ]
# push:
# branches:
# - main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "TODO to Issue"
uses: alstr/[email protected]
with:
AUTO_ASSIGN: "true"
INSERT_ISSUE_URLS: "true"
CLOSE_ISSUES: "true"
- name: Set Git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and Push Changes
run: |
git add -A
if [[ `git status --porcelain` ]]; then
git commit -m "Automatically added GitHub issue links to TODOs"
git push origin main
else
echo "No changes to commit"
fi
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "TODO to Issue"
uses: alstr/[email protected]
with:
AUTO_ASSIGN: "true"
INSERT_ISSUE_URLS: "true"
CLOSE_ISSUES: "true"
- name: Set Git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and Push Changes
run: |
git add -A
if [[ `git status --porcelain` ]]; then
git commit -m "Automatically added GitHub issue links to TODOs"
git push origin main
else
echo "No changes to commit"
fi
1 change: 1 addition & 0 deletions ground/src/main/java/com/google/android/ground/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ object Config {
const val SHARED_PREFS_MODE = Context.MODE_PRIVATE

// Local db settings.
// TODO: Test comment
const val DB_VERSION = 121
const val DB_NAME = "ground.db"

Expand Down

0 comments on commit 7b11aee

Please sign in to comment.