main
 1class GithubsController < ApplicationController
 2  skip_before_action :verify_authenticity_token
 3
 4  # After installation callback
 5  def show
 6    # TODO:: exchange code for a user access token
 7    # https://docs.github.com/en/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps#2-users-are-redirected-back-to-your-site-by-github
 8  end
 9
10  # web hooks
11  def create
12    head :no_content
13  end
14end