Skip to content

Commit

Permalink
Update gradle command to remove gitignored files (#26924)
Browse files Browse the repository at this point in the history
* Update gradle command to remove gitignored files

* fix typo

* Automated Commit - Format and Process Resources Changes

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@sers.noreply.github.com>
Co-authored-by: bnchrch <bnchrch@users.noreply.github.com>
  • Loading branch information
3 people committed Jun 2, 2023
1 parent 65d26bb commit 68e4d50
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,14 @@ jobs:
attempt_limit: 3
attempt_delay: 5000 # in ms

# This is helpful in the case that we change a previously commited generated file to be ignored by git.
- name: Remove any files that have been gitignored
run: git ls-files -i -c --exclude-from=.gitignore | xargs -r git rm --cached

- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Automated Change
commit_message: Automated Commit - Format and Process Resources Changes
commit_user_name: Octavia Squidington III
commit_user_email: octavia-squidington-iii@users.noreply.github.com

Expand Down
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
build
out
.DS_Store
data
.dockerversions
.classpath
.project
Expand Down Expand Up @@ -87,11 +86,11 @@ charts/**/charts
dd-java-agent.jar

# Files needed to run airbyte-platform that are downloaded on-the-fly via run-ab-platform.sh
docker-compose.yaml
docker-compose.debug.yaml
.env
.env.dev
flags.yml
/docker-compose.yaml
/docker-compose.debug.yaml
/.env
/.env.dev
/flags.yml

# Ignore generated credentials from google-github-actions/auth
gha-creds-*.json

This file was deleted.

0 comments on commit 68e4d50

Please sign in to comment.