From 7b11aeef61cc6e887870bfd0ab93f48115754e47 Mon Sep 17 00:00:00 2001 From: Shobhit Agarwal Date: Mon, 16 Dec 2024 09:47:27 +0530 Subject: [PATCH] Add TODO to supported language --- .github/workflows/todo-to-issue.yml | 51 +++++++++---------- .../java/com/google/android/ground/Config.kt | 1 + 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/todo-to-issue.yml b/.github/workflows/todo-to-issue.yml index 776f185ab8..fae9f1c509 100644 --- a/.github/workflows/todo-to-issue.yml +++ b/.github/workflows/todo-to-issue.yml @@ -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/todo-to-issue-action@v5.1.7 - 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 \ No newline at end of file + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: "TODO to Issue" + uses: alstr/todo-to-issue-action@v5.1.7 + 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 \ No newline at end of file diff --git a/ground/src/main/java/com/google/android/ground/Config.kt b/ground/src/main/java/com/google/android/ground/Config.kt index c2ccefa522..56c88c7556 100644 --- a/ground/src/main/java/com/google/android/ground/Config.kt +++ b/ground/src/main/java/com/google/android/ground/Config.kt @@ -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"