Skip to content
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

Make airbyte-platform repo build leaner #308

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/actions/match-github-to-slack-user/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This action will try to match git commit author (GITHUB_ACTOR) with Slack user
# and add it to GITHUB_OUTPUT
# Following env variables should be provided.
# Provided by Github:
# GITHUB_ACTOR: commit author
# GITHUB_REPOSITORY: name of the repo we check the commit author, e.g. "airbytehq/airbyte-platform-internal"
# Required:
# AIRBYTE_HQ_BOT_SLACK_TOKEN: ${{ secrets.AIRBYTE_HQ_BOT_SLACK_TOKEN }}
# AIRBYTE_TEAM_BOT_SLACK_TOKEN: ${{ secrets.AIRBYTE_TEAM_BOT_SLACK_TOKEN }}
# GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

name: 'Match Github user to Slack user'
description: 'Match Github user to Slack by email or full name in Github profile.'
outputs:
slack_user_ids:
description: 'Comma separated slack user IDs that match to GITHUB_ACTOR (Github username)'
value: ${{ steps.match-github-to-slack-user.outputs.slack_user_ids }}
runs:
using: 'composite'
steps:
- name: Match github user to slack user
id: match-github-to-slack-user
run: |
./tools/bin/match_github_user_to_slack
shell: bash
Loading
Loading