-
Notifications
You must be signed in to change notification settings - Fork 0
Hotfix/#505 Goggle Service Info.plist Workflow에 추가 #506
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
Merged
The head ref may contain hidden characters: "hotfix/#505-\uD06C\uB798\uC2DC"
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 6250
🏁 Script executed:
Repository: 36-APPJAM-HEARTZ/BYEBOO-iOS
Length of output: 561
🌐 Web query:
GitHub Actions documentation secrets unavailable fork pull request unset empty string default shell bash pipefail💡 Result:
GitHub Actions behavior regarding secrets in fork pull requests and shell execution is documented as follows: Secrets in Fork Pull Requests Workflows triggered by the pull_request event from a forked repository do not have access to repository or environment secrets [1][2][3]. This is a security feature designed to prevent untrusted code in a fork from accessing sensitive credentials [1][3]. When a step in such a workflow attempts to access a secret, it will receive an empty string [1]. To handle this, common practices include using conditional logic to skip secret-dependent steps when the event originates from a fork (e.g., using if: github.event.pull_request.head.repo.fork == false) [1] or using the pull_request_target event for trusted automation, which runs in the context of the base repository and has access to secrets [4][5][6]. Note that pull_request_target requires careful security management to avoid executing untrusted code [4][7]. Default Shell and pipefail When using the run keyword in GitHub Actions on Linux/macOS runners, the shell behavior depends on whether a shell is explicitly specified [8][9]. 1. Explicit bash: When shell: bash is specified, GitHub uses the command bash --noprofile --norc -eo pipefail {0} [8][9]. The -eo pipefail flags ensure that the script exits immediately if a command fails (-e) and that the pipeline's exit code is determined by the last command to exit with a non-zero status (-o pipefail) [10][9]. 2. Default (Unspecified): If no shell is specified, the default shell on Linux/macOS runners is effectively bash -e {0} [8][11]. While this includes the -e (errexit) flag for fail-fast behavior, it does not include the pipefail option by default [10][9]. To ensure pipefail behavior when the shell is not explicitly set, you should either explicitly define shell: bash or include set -o pipefail in your run script [10][9].
Citations:
두 워크플로의 plist 생성 단계에서 입력과 출력을 검증하십시오.
GOOGLE_SERVICE_INFO_BASE64가 설정되지 않으면 빈 문자열이 전달될 수 있습니다. 현재 명령은 빈 파일을 성공적으로 생성합니다. Base64로 디코드되지만 plist가 아닌 값도 통과합니다..github/workflows/fastlane_ci.yml#L39-L44: 디코드 전에 시크릿을 검사하고, 생성 후plutil -lint를 실행하십시오..github/workflows/build_test.yml#L26-L30: 동일한 검사를ByeBoo-iOS/ByeBoo-iOS/GoogleService-Info.plist에 적용하십시오.📍 Affects 2 files
.github/workflows/fastlane_ci.yml#L39-L44(this comment).github/workflows/build_test.yml#L28-L28🤖 Prompt for AI Agents
Source: MCP tools