総合的なセキュリティリスク評価:
- 🟢 低リスク - ローカル完結型で外部通信なし、または十分なセキュリティ対策が確認されている
- 🟡 中リスク - 制限付き外部通信または一部セキュリティ懸念があるが、適切に管理可能
| build: | |
| steps: | |
| - eas/send_slack_message: | |
| if: ${ always() } | |
| inputs: | |
| slack_hook_url: ${ eas.env.SLACK_WEBHOOK_URL } | |
| payload: | |
| blocks: | |
| - type: section | |
| text: |
| marp | paginate |
|---|---|
true |
true |
| # Project rootに移動 | |
| cd $(git rev-parse --show-toplevel) | |
| if [ "$(cat .xcode-version)" != "$(xcodebuild -version | awk 'NR==1{print $2}')" ]; then | |
| echo 'Invalid Xcode version' | |
| echo ".xcode-version: $(cat .xcode-version)" | |
| echo "xcodebuild version: $(xcodebuild -version | awk 'NR==1{print $2}')" | |
| exit 1 | |
| fi |
| # android/ ios/ に配置 | |
| source "https://rubygems.org" | |
| fastlaneVersion = File.join(File.dirname(__FILE__), '../fastlane-version') | |
| eval_gemfile(fastlaneVersion) if File.exist?(fastlaneVersion) | |
| plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') | |
| eval_gemfile(plugins_path) if File.exist?(plugins_path) |
| #!/bin/sh | |
| . "$(dirname "$0")/_/husky.sh" | |
| prevHEAD=$1 | |
| nextHEAD=$2 | |
| prevPackageHash=$(git log --format="%C(auto)%h%Creset" -n 1 $prevHEAD -- package.json | cat) | |
| nextPackageHash=$(git log --format="%C(auto)%h%Creset" -n 1 $nextHEAD -- package.json | cat) | |
| if [ "$prevPackageHash" != "$nextPackageHash" ]; then |
| name: 'Merge `release/x.x.x` to master & create x.x.x tag' | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| jobs: | |
| create-tag: | |
| runs-on: ubuntu-latest | |
| if: startsWith(github.event.pull_request.head.ref, 'release/') | |
| steps: |
| private static Map<Integer, String> importance = new HashMap<Integer, String>(); | |
| private static Map<Integer, String> reason = new HashMap<Integer, String>(); | |
| static { | |
| importance.put(ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND, "IMPORTANCE_FOREGROUND"); | |
| importance.put(ActivityManager.RunningAppProcessInfo.IMPORTANCE_PERCEPTIBLE, "IMPORTANCE_PERCEPTIBLE"); | |
| importance.put(ActivityManager.RunningAppProcessInfo.IMPORTANCE_VISIBLE, "IMPORTANCE_VISIBLE"); | |
| importance.put(ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, "IMPORTANCE_SERVICE"); | |
| importance.put(ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND_SERVICE, "IMPORTANCE_FOREGROUND_SERVICE"); | |
| importance.put(ActivityManager.RunningAppProcessInfo.IMPORTANCE_BACKGROUND, "IMPORTANCE_BACKGROUND"); |